Re: include-from or files-from

2010-10-28 Thread Wayne Davison
On Mon, Oct 25, 2010 at 1:18 AM, ml ml wrote: > Why does it not transfer the files recursively? > Because your exclude (- *) is not anchored, so it matches the deeper files. You can either anchor it (- /*) or specify your prior includes with "**" or "***" components. e.g. "+ /path/***" would i

Re: include-from or files-from

2010-10-28 Thread Steven Levine
In , on 10/25/10 at 10:18 AM, ml ml said: Hi, Please reply to the list. >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 FWIW, -a implies --re

Re: include-from or files-from

2010-10-25 Thread ml ml
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/

Re: include-from or files-from

2010-10-22 Thread Steven Levine
In , on 10/22/10 at 11:30 AM, ml ml 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/

include-from or files-from

2010-10-22 Thread ml ml
Hello List, i have got a large File-List which looks like this: ...snip... 165/165950*.jpg 166/166072*.jpg ...snap Now i would like to transfer only those file from that list. The rsync command: rsync -avz -F --files-from=/tmp/synclist-small.txt /mnt/ /data/ does not seem to work due to t