syntax wrong?

Julian Pace Ross linux at
Mon Feb 12 18:20:06 GMT 2007

Dear all,

Not sure what I'm doing wrong:
(Using 2.6.9)
I'm using --files-from=FILE and in this case I do NOT want to recurse into
directories, so for example if FILE contains:

I just want the files in Dir1 and 2 to be copied, but not the files in
Dir1/Dir3/ for example.

So I'm using -a and --files-from, (the -r being automatically "non-implied"
due to the --files-from).

What's happening is I get Dir1 and Dir2 on the receiver, but with no files
at all in them. 

Tried a few things, but can't seem to make it work.
Anyone got a clue?


More information about the rsync mailing list