On Tue, Nov 19, 2002 at 11:32:06AM -0600, Lori Anderson wrote: > rsync -av /software/testdir/ --exclude='/software/testdir/test.sql' > landser@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@serv602:/software/testdir/ That will exclude /software/testdir/test.sql. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html