rsync exclude/include
Thomas Schweikle
tschweikle at fiducia.de
Tue Nov 13 11:10:39 EST 2001
I want to rsync only a small part of a directory tree. I've set up an
exclude and an include file:
exclude holds:
/*
include holds:
/iso/1.5.*/i386
I am calling rsync using
rsync -avz --include-from="include" --exclude-from="exclude"
ftp3.sourceforge.net::/netbsd/iso iso/
but nothing happens. No files transfered. But I would expect rsync to
transfer files:
/iso/1.5.1/i386cd.iso
/iso/1.5.1/i386pkg1.iso
/iso/1.5.1/i386pkg2.iso
/iso/1.5.1/i386pkg3.iso
/iso/1.5.2/i386cd.iso
/iso/1.5.1/i386pkg1.iso
/iso/1.5.1/i386pkg2.iso
/iso/1.5.1/i386pkg3.iso
Can one explane why rsync doesn't transfer there files and point me to some
error in my include/exclude files?
Thanks in advance!
--
Thomas
More information about the rsync
mailing list