[RFC] transfer files listed in a file.

Max Kipness mkipness at geniant.com
Fri Dec 12 04:25:13 EST 2003

> On Wed, Dec 10, 2003 at 07:49:51PM -0500, James A. Morrison wrote:
> > 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 .
> see the --files-from option in CVS

What is the proper way to patch rsync? I don't seem to be having any
luck with:
patch [options] [originalfile [patchfile]

I need something like this and would like to play around with it on a
dev box.

Or is this identical to --files-from option?

I'd like to be able to just list the files to be rsynced with the full
path in a file. I currently use the --include-from option and understand
it pretty well now, but I'm working on an automated process for
selecting files and this type of option would make the script logic much


More information about the rsync mailing list