I thought it'd be easy but I can't get it to work...
I have machines a and b

a has a disk image in /image
I'd like to rsync some select files from /image to server b:/

rsync -av -SH --include-from list --dry-run /image/. b:/

list looks like this:

- *
+ /etc/foo
+ /etc/foo2
+ /bin/bash
..

I've tried moving '- *' at the end, but it doesn't help, rsync just won't
rsync anything...

I also tried listing
+ /image/etc/foo
(...)
just in case, but that doesn't work either.

How to I get rsync to exclude all the files by default and only rsync a
select set of files that I'm specifying?

Thanks,
Marc
-- 
Microsoft is to software what McDonalds is to gourmet cooking
 
Home page: http://marc.merlins.org/ (friendly to non IE browsers)
Finger [EMAIL PROTECTED] for PGP key and other contact information

Reply via email to