[RFC] transfer files listed in a file.
James A. Morrison
jim at nit.ca
Thu Dec 11 11:49:51 EST 2003
Hi,
We've found a need to list the files to transfer in a files since
our command lines got too long. Anyway, the attached patch
implements reading from a file with two command line options.
The first is from-file, this file contains a list of files to get
from src. The second is subst-file which contains a list of files
to send to dst.
e.g.
rsync -f rsync.files jim at server::jim/ .
and
rsync -s rsync.files jim at server::jim
The first will grab the files listed in rsync.files from
server::jim and put them in '.' . The second will send the
files listed in rsync.files to server::jim .
Other than adding those options this patch also creates a
new function send_a_file() which makes send_file_list() a
bit shorter and easier to read.
Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_subst_from_file_rsync.diff
Type: text/x-patch
Size: 25301 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20031210/fe71d2db/01_subst_from_file_rsync.bin
More information about the rsync
mailing list