rsync 2.6.9 ignoring hidden files?

Matt McCutchen hashproduct+rsync at gmail.com
Tue Jan 16 17:44:37 GMT 2007


On 1/16/07, Alan Ezust <alan.ezust at gmail.com> wrote:
> rsync -avz  linux-2.6.16.29/. yuzu:/usr/src/linux-2.6.16.29/
>
> I also tried adding this option:
>
> --include=".*"
>
> but in both cases, the .config file was not copied over. It seems that
> rsync is copying hidden directories but not hidden files. Is there an
> option I am missing somewhere?

As far as I know, rsync does not treat files whose names begin with a
dot (traditionally "hidden" files) specially.  Are you sure .config
exists on the source but not the destination?  Did rsync mention in
the verbose output that it was trying to copy .config ?

Matt


More information about the rsync mailing list