Re: [Hampshire] rsync

Top Page

Reply to this message
Author: Keith Edmunds
Date:  
To: hampshire
Subject: Re: [Hampshire] rsync
On Mon, 5 Nov 2012 19:26:16 +0000, kae@??? said:

> $ rsync -av --delete /mnt/foo/* /mnt/goo


Note that this will not copy hidden files in /mnt/foo (although it will
copy hidden files in subdirectories). If you need hidden files in /mnt/foo
copied then I would do:

    $ rsync -av --delete /mnt/foo /mnt/goo


...which will create /mnt/goo/foo as an exact replica of /mnt/foo.
--
We're looking for smart Linux people:
http://www.tiger-computing.co.uk/jobs

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------