rsync behaviour

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


Nevermind, the second command actually had a '/' at the end, so it
excluded the last folder.

Picky, picky, picky ;)

On Wed, Oct 26, 2011 at 6:20 PM, Thomas Milne
<thomas.bruce.milne-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> 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
>



-- 
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