We are using rsync and have noticed that it fails to copy hidden directories. I looked through the doc and it doesn't look like there's a flag to get rsync to not skip hidden (dot) directories. Am I missing something or is this By Design? If By Design, I think it should be changed. Michelene Chon Manager, SCM (Software Configuration Management) GetThere, a Sabre company mchon@getthere.com Phone: (650) 752-1794 Cell: (650) 208-4172
Michelene, We use rsync (2.4.6) a lot and it copies dot-directories for us. I suspect you've got a problem with the command line you're using, the following is an example of what we use:- rsync -ae "ssh -C -x" --delete machine_a:/home/ /backups/machine_a/home/ all the usual dot-directories in the home directories are copied. Francis Stevens Digitalbrain Michelene Chon wrote:>We are using rsync and have noticed that it fails to copy hidden >directories. I looked through the doc and it doesn't look like there's a >flag to get rsync to not skip hidden (dot) directories. Am I missing >something or is this By Design? If By Design, I think it should be changed. > >Michelene Chon >Manager, SCM (Software Configuration Management) >GetThere, a Sabre company >mchon@getthere.com >Phone: (650) 752-1794 >Cell: (650) 208-4172 > >
On 12 Sep 2001, Michelene Chon <mchon@getthere.com> wrote:> > We are using rsync and have noticed that it fails to copy hidden > directories. I looked through the doc and it doesn't look like there's a > flag to get rsync to not skip hidden (dot) directories. Am I missing > something or is this By Design? If By Design, I think it should be changed.What command line are you using? That's not the normal behaviour, but you could achieve it using exclude options. -- Martin