mv command behavior

Les Mikesell lesmikesell at gmail.com
Mon Jul 9 16:41:14 UTC 2007


lists at dwsasia.com wrote:
>> Are you sure the second time you did not execute this:
>> mv -u /tmp/dirA/dirB /dirC/dirB/
> 
> Hi there, yes I am sure I did not do the above, I did:
> 
> mv -u /tmp/dirA/dirB /dirC/dirB

I've always wished rsync had a --remove-source-after-destination-exists 
option to get moves right either locally or remotely.  I often use it 
instead of cp for local copies because it always gets updates right.

-- 
   Les Mikesell
    lesmikesell at gmail.com






More information about the fedora-list mailing list