Modified --files-from patch

jw schultz jw at pegasys.ws
Mon Mar 31 09:53:15 EST 2003


On Sun, Mar 30, 2003 at 03:19:42PM -0800, Wayne Davison wrote:
> Since no one had any objections, I went ahead and committed the
> --files-from changes into CVS.  Let me know if you encounter any
> problems.

That's fine.  I had meant to offer one criticism however.

What i had meant by the from0 was that each of the --*from
options would have a from0 counterpart so that null
terminated lists and newline terminated lists could
co-exist.  In other words these options would all exist. 
	--include-from
	--include-from0
	--exclude-from
	--exclude-from0
	--files-from
	--files-from0
instead of a single --from0 or --null.  In this way you
could have a command-line of
	rsync -a --exclude-from0=/usr/local/etc/rsync-exclude \
		--exclude-from=$HOMEDIR/myexclude \
		$HOMEDIR/ server:/homeback/$HOMEDIR/
or some such.

I don't know that it will ever be an issue so i'm not very
concerned with it.  After all, we have gotten along so far
without any null termination capacity.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt


More information about the rsync mailing list