Command line not conform with mv/cp convention

Cyker Way cykerway at gmail.com
Tue Jul 27 11:40:24 MDT 2010


This may not be regarded as a bug, but it actually affects and is sometimes
boring.

Suppose *foo* and *bar* are directories. When someone types:

*rsync foo/ bar*

rsync will sync foo/* into bar/

However, if he/she types:

*mv foo/ bar*

mv will move foo into bar/ and cp behaves like mv

I think the trailing / shouldn't matter so much. What matters should be the
asterisk after /

This is just a convention.


-- 



Cyker Way
Email:cykerway at gmail.com <Email%3Acykerway at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100728/6ce194ab/attachment.html>


More information about the rsync mailing list