On Sun, 2008-08-24 at 17:54 +0200, Leslie Jensen wrote: > Copy system configuration files to a directory on my > (/home/user/configuration) home drive. > > I've made a text file with the files I want to copy, one file on each row. > > The command: > > rsync -tv --files-from="my list of files" /home/user/configuration/ > > does not work and I'm not getting any wiser from reading the man page.
--files-from is used in addition to a source dir, not in place of one. If the paths in your --files-from file are absolute, you can just pass / as the source dir: rsync -tv --files-from="my list of files" / /home/user/configuration/ The examples in the man page description of --files-from do show the source dir, but the description could certainly be more explicit that one is required. Matt
signature.asc
Description: This is a digitally signed message part
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html