Using include/exclude options
wayned at samba.org
Fri Jun 27 07:41:28 EST 2003
On Thu, Jun 26, 2003 at 12:07:42PM -0700, Jason Williams wrote:
> rsync -avn --include-file=/home/rsyncfile /backupstorage/D/ /home/rsyncbak
The most common failing is people not specifying the excludes relative
to the root of the transfer (it's not relative to the root of the file
system). Thus, this include:
says to transfer directory /backupstorage/D/backupstorage/D/CLOSED00.
You probably meant to say this:
Also, don't forget to end the list with:
So that no other dirs/files get sent but the ones you listed.
More information about the rsync