From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans mailing list <9fans@cse.psu.edu> Message-ID: <20011007082859.I28720@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [9fans] mv vs cp Date: Sun, 7 Oct 2001 08:29:00 +0200 Topicbox-Message-UUID: ff5ec1ea-eac9-11e9-9e20-41e7f4b1d025 Am I being utterly obtuse, or does it really make sense to duplicate then delete files when moving them to another directory? I had the distribution archives in /dist under "kfs" and decided to do the following: % cd /dist % mkdir plan9 % mv *.9gz plan9 the machine is still busy copying plan9.9gz :-( In this case, a "rename" would have been appropriate. Is it not possible to determine whether it would work and resort to cp+rm if it doesn't? In fact, a rename command would be an adequate compromise. I see there's a "kfs" command called "rename" but the man page does not specify its actual scope. Should I have used that (one file at the time) instead? ++L