include-exclude patterns
jw schultz
jw at pegasys.ws
Tue Dec 10 05:26:43 EST 2002
On Tue, Dec 10, 2002 at 12:08:54AM -0500, marco wrote:
> Hi,
> I just subscribe to ask you a question about patterns in exclude-include
> files.
> I just want some folders to be rsynced to a remote machine.
> What I tried is :
> IncludeFile
> -------------------------
> /etc/
> /var/lib/zope/
> - /*
> -----------------------
> result of
> $$ rsync -avvrn --delete --delete-excluded
> --include-from=/backup-include -e ssh / /backup
> is
> expand file_list to 4000 bytes, did move
> including directory etc because of pattern /etc/
> excluding directory usr because of pattern /*
> excluding directory bin because of pattern /*
> excluding directory var because of pattern /*
> excluding directory boot because of pattern /*
> excluding directory dev because of pattern /*
> excluding directory home because of pattern /*
> excluding directory lib because of pattern /*
> excluding directory mnt because of pattern /*
> excluding directory proc because of pattern /*
> excluding directory root because of pattern /*
> excluding directory sbin because of pattern /*
> excluding directory tmp because of pattern /*
> excluding directory floppy because of pattern /*
> excluding directory cdrom because of pattern /*
> excluding directory initrd because of pattern /*
> done
>
> What about /var/lib/zope/ ?
>
> I lost my afternoon on this
> Could you explain me what I am missing ?
You forgot to include /var/ and /var/lib/ so it never even
sees /var/lib/zope/
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list