So all I want is rsyncing files while preserving their _absolute_ paths on the target machine which doesn't seem possible.

Check out the --relative (-R) option in the man page. That would let you do something like this:

rsync -avR `cat /path/file-list` dest:/

Or, the CVS version of rsync which has the --files-from option:

rsync -av --files-from=/path/file-list / dest:/

(Note that the --files-from option implies --relative.)

Thanks, that's what I was looking for! Indeed 'relative' plus just '/' as the path sortof becomes absolute. I had no Idea this option would keep paths so I skipped it :).


Got my backup now happlily working with rsync-cvs.


-Thomas


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

Reply via email to