Question on --include-from option.

Wayne Davison wayned at samba.org
Thu Aug 14 05:00:58 EST 2003


On Wed, Aug 13, 2003 at 05:12:02PM +0100, Loris Serena wrote:
> So, would it be correct to say that the "source" is the path of the
> --include-from file?

No -- the include-from option just FILTERS the source.  The source is
the first arg (non-option) on the command-line, which, when combined
with an include file, is usually just a single directory (and often has
a trailing slash).  The destination is the last arg on the command-line.
It's right there in the man page or in the "rsync --help" output:

    rsync [-OPTIONS] [--OPTION=VALUE] SOURCE DESTINATION

..wayne..



More information about the rsync mailing list