Re: Copying a list of files

2008-08-25 Thread Leslie Jensen
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 Thank you all. It's amazing what a slash can do :-) /Les --

Re: Copying a list of files

2008-08-24 Thread Wayne Davison
On Sun, Aug 24, 2008 at 05:54:12PM +0200, Leslie Jensen wrote: > rsync -tv --files-from="my list of files" /home/user/configuration/ You're missing a path in that command, presumably the source path. All names in a files-from file are relative to the source path, but you can use "/" if you want th

Re: Copying a list of files

2008-08-24 Thread Matt McCutchen
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" /

Copying a list of files

2008-08-24 Thread Leslie Jensen
Hello. I'm trying to achieve the following. 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/