rsync behaviour

Thomas Milne thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Wed Oct 26 22:20:02 UTC 2011


When I do rsync -au ~/.config user at host:~/backup

it puts .config under ~/backup like so:

~/backup/.config

but when I do rsync -au ~/Documents user at host:~/backup

it puts the _contents_ of Documents under ~/backup...so I lose the
'Documents' folder.

Is it because the first was a hidden dir?

-- 
Thomas Milne
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list