Wildcards (include)

Ken ken at toudi.cisovanet.pl
Tue Mar 18 02:06:29 EST 2003

I'm trying to synchronize some directories.

Let's say I need to synchronize:


I don't want to run 3 rsync commands. I have already tried
using --include --exclude options, but it didn't work at all.

I supppose my command should be as follows:

rsync -azvl  --include-from=includes --exclude='*' / username at host.com:/ken/backup/


The result is that I get nothing. Nothing is copied then.
No errors reported by rsync.

I also tried the same command, but without --exclude opotion.. 
and by chaning includes file:
-*                  (-/*)

What am I missing ?

Thank you!



More information about the rsync mailing list