Hello, it seems it does not transfer my files recursively:
My Files and Folders: ma...@mario-laptop:~/foo2$ find . . ./include.txt ./file-also-included ./path ./path/this-file-is-found ./some My rsync command: rsync -avnz --recursive --include-from="include.txt" * bar cat include.txt + /some/ + /some/path/ + /some/path/this-file-is-found + /file-also-included - * rsync -avnz --recursive --include-from="include.txt" * bar sending incremental file list created directory bar file-also-included some/ sent 89 bytes received 19 bytes 216.00 bytes/sec total size is 0 speedup is 0.00 (DRY RUN) Why does it not transfer the files recursively? Cheers, Mario On Fri, Oct 22, 2010 at 8:11 PM, Steven Levine <stev...@earthlink.net> wrote: > In <aanlktim93g-cp9obghze3jx8jrnwelyjoe=whthr5...@mail.gmail.com>, on > 10/22/10 > at 11:30 AM, ml ml <mliebher...@googlemail.com> said: > > Hi listee, > > >>If i change my file list to: >>...snip... >>+ 165/165950* >>+ 166/166072* >>- * >>...snap... > > This is a common use case. Read the man page section titled > INCLUDE/EXCLUDE PATTERN RULES and find the part that reads > > + /some/ > + /some/path/ > + /some/path/this-file-is-found > + /file-also-included > - * > > It should help you understand how to set up the filter rules you need. > > The docs discuss a couple of other ways to solve this problem. > > Regards, > > Steven > > -- > ---------------------------------------------------------------------- > "Steven Levine" <stev...@earthlink.net> eCS/Warp/DIY etc. > www.scoug.com www.ecomstation.com > ---------------------------------------------------------------------- > > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html