These questions look like they might not be a job for rsync.  Anybody ever try 

(cd sourcedir;cat filelist |cpio -ocdum |rsh remotehost "cd destdir;cpio -vicdum")

?  It won't have any of the enhancements or rsync, but these examples look like they 
don't need them.  Heck, you can even set that commandline up as a pipe, open it up, 
and just keep feeding it filenames as needed (it's good to flush the pipe with a 
terminator file every once in a while).  If you're only sending whole, new files (not 
deleting, not moving only deltas), the above solution is much more efficient.  Of 
course, you can use ssh instead of rsh.

Incidentally, couldn't we make --include-from accept the argument "-", meaning stdin, 
for those cases where rsync is needed, keeping the syntax otherwise unchanged?  (Note: 
 I use the pronoun "we" incorrectly, in this case, as I have no expertise to 
offer to the effort. )


Tim Conway
[EMAIL PROTECTED]
303.682.4917
Philips Semiconductor - Colorado TC
1880 Industrial Circle
Suite D
Longmont, CO 80501

---------------------- Forwarded by Tim Conway/LMT/SC/PHILIPS on 01/03/2001 11:05 PM 
---------------------------


[EMAIL PROTECTED]@[EMAIL PROTECTED] on 01/04/2001 08:03:46 AM
Sent by:        [EMAIL PROTECTED]
To:     [EMAIL PROTECTED]@SMTP
cc:      
Subject:        Re: Transfering File List
Classification: 

On Wed, Jan 03, 2001 at 05:03:41PM -0500, Bennett Todd wrote:
> Even nicer, in my opinion, would be a mode where rsync could be told
> to take a src dir and a dst dir as cmdline args, then simply reads
> paths from stdin, and as each path is read, sync from that src file
> under the src dir to the corresponding dst file under the dst dir;
> repeat until eof on stdin. That'd make it easy for a process that
> periodically modifies one or another file in a potentially large
> tree, to simply send notifications to a persistent rsyncer that
> takes care of efficiently replicating those changes over to the
> other side.

This would be useful for me as well.  I have an application where a
subset of the data needs to be updated quarterly.  These files are
mixed throughout the directory structure, making an include/exclude
type of list, rather messy to generate automatically.

It would be very nice to have a mode where I can supply a list of
files to be rsync'd.  Plain and simple.

--
Thomas J. Pinkl                         738 Louis Drive
Unix Systems Programmer                 Warminster, Pa 18974
Health Business Systems, Inc.           (215) 442-9300 x9260



Reply via email to