Hi,
I'm trying to synchronize some directories.

Let's say I need to synchronize:

/web/sites
/var/qmail/control
/home/ken

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='*' / [EMAIL PROTECTED]:/ken/backup/

includes:
/web/sites
/var/qmail/control
/home/ken

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:
+/var/qmail/control
+/web/sites
+/home/ken
-*                  (-/*)

What am I missing ?

Thank you!

Regards,

Ken
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to