From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] mv vs cp In-Reply-To: Your message of "Sun, 07 Oct 2001 08:29:00 +0200." <20011007082859.I28720@cackle.proxima.alt.za> From: Quinn Dunkan Message-Id: <20011007064220.188F1742E2@hork.ugcs.caltech.edu> Date: Sat, 6 Oct 2001 23:42:15 -0700 Topicbox-Message-UUID: ff6e5574-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? mv does try to rename (uses dirwstat, I think), but you can only rename to the same directory, check mv.c. There was a discussion a while back about how hard cross directory renames are.