> rsync -av -SH --include-from list --dry-run /image/. b:/
> list looks like this:
> - *
> + /etc/foo
> + /etc/foo2
> + /bin/bash
> ..
I think you should do:
+ /etc
+ /etc/foo
+ /etc/foo2
- /etc/*
+ /bin
+ /bin/bash
- /bin/*
.
- *
or perhaps, having in file the list of relative pathnames from /image/
for the files you want:
xargs rsync_to_b < file
where rsync_to_b is:
#!/bin/sh
exec rsync -av -SH --relative "$@" b:/
[EMAIL PROTECTED], Tel: (33)04 92 38 79 11
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex