The exclude option of Rsync not work right.
Wayne Davison
wayned at users.sourceforge.net
Tue Nov 19 18:04:26 EST 2002
On Tue, Nov 19, 2002 at 11:32:06AM -0600, Lori Anderson wrote:
> rsync -av /software/testdir/ --exclude='/software/testdir/test.sql'
> landser at serv602:/software/testdir/
Inclusions and exclusions are relative to the base of the transfer. Use
a leading '/' if you want to indicate that the inclusion/exclusion is
anchored to this base. Like this:
rsync -av /software/testdir/ --exclude=/test.sql landser at serv602:/software/testdir/
That will exclude /software/testdir/test.sql.
..wayne..
More information about the rsync
mailing list