rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr, daß alle bekannten Viren und deren Varianten erkannt wurden.]

Thomas Schweikle tschweikle at fiducia.de
Tue Nov 13 11:44:45 EST 2001


Hi again!





Tomasz Ciolek <tmc at goldweb.com.au> on 13.11.2001 01:21:27

An:   Thomas Schweikle <tschweikle at fiducia.de>
Kopie:
Thema:    Re: rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr,
      daß alle bekannten Viren und deren Varianten erkannt wurden.]


> Try dumoping the whole file list into a text file, prefix each one with
> minus for exclude and a + for include.
>
> Then run rsync like this:
>
> rsync -avz --exclude-from="exclude.list"
ftp3.sourceforge.net::/netbsd/iso/ ./iso/
>
> have a look at the rsync man page for more information on
> the exact syntax of the unified include/exclude stuff
> Regards.

Done that. Result: rsync include/exclude matching is definitively wrong. If
"... matching is done using shell filename matching ..." this file should
work:

- /*
+ /iso/1.5.*/i386*

but doesn't. Looks like "*" is matched, but does not lead to a "true"
matched against "/iso/1.5.1/i386cd.iso". Any way to debug this, making sure
how matches are really done?

--
Thomas







More information about the rsync mailing list