I've been googling and searching the mailing list, and I think this is a new issue. I just tried copying a kernel source tree, using this command 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? Using rsync version 2.6.9 protocol version 29
On 1/16/07, Alan Ezust <alan.ezust@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
Apologies - you can ignore this message. For some reason I thought the .config file was there, but as you suggested, it was missing from this particular source tree. On subseuqent tests, I found that the .config file was copied over without problems. On 1/16/07, Matt McCutchen <hashproduct+rsync@gmail.com> wrote:> On 1/16/07, Alan Ezust <alan.ezust@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 >