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 ? thanks -- marco -- Cl? PGP publique : https://iftbqp.mine.nu/marco.asc
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@pegasys.ws Remember Cernan and Schmitt
Le Mon, 9 Dec 2002 21:22:48 -0800 jw schultz <jw@pegasys.ws> ?crivait :> You forgot to include /var/ and /var/lib/ so it never even > sees /var/lib/zope/I even tried this but it include the whole /var/ folder ! I just want /var/lib/zope. -- marco -- Cl? PGP publique : https://iftbqp.mine.nu/marco.asc -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20021210/3f3a677d/attachment.bin