problem to exclude
Rakotomandimby (R12y) Mihamina
mihamina.rakotomandimby at etu.univ-orleans.fr
Wed May 18 09:57:08 GMT 2005
Hi,
I want to mirror NetBSD on this server:
ftp://ftp.univ-orleans.fr/logiciel-libre/netbsd-ftp/
The problem is I dont want to mirror old versions (1.5.x)
There are 1.5* branches as subdirs of 'packages' and others at the root
of the server called 'NetBSD-release-1-5' and 'NetBSD-1.5.3'.
I want to avoid to sync them.
The command I use to sync is:
- - - - - - - - - - -
#!/bin/zsh
[...snip stuff...]
OPT=(--exclude-from="netbsd-selection.txt" -bavzWr --progress --delete)
CMD=(rsync ${OPTS})
$CMD rsync://rsync.fr.NetBSD.org/NetBSD/ ${LL}netbsd-ftp/
- - - - - - - - - -
I still use verbose mode to debug it, and the content of
netbsd-selection.txt is:
- - - - - - - - - -
- /NetBSD-release-1-5/**
- /packages/1.5**
- - - - - - - - - -
But the outpu of the script tell yet:
- - - - - - - - - - -
[...]
NetBSD-release-1-5/src/games/fortune/datfiles/CVS/Repository
27 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/CVS/Root
25 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/CVS/Tag
12 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/Makefile
2180 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes
582080 100% 2.28MB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes-o.fake
127 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes-o.real
73303 100% 5.38MB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes-o.sp.ok
2304 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes.sp.ok
16962 100% 0.00kB/s 0:00:00
NetBSD-release-1-5/src/games/fortune/datfiles/fortunes2
[...]
- - - - - - - - -
So: it does not obey. Did I give the wrong orders?
Thank you for help.
--
ASPO Infogérance http://aspo.rktmb.org/activites/infogerance
Unofficial FAQ fcolc http://faq.fcolc.eu.org/
LUG sur Orléans et alentours (France).
Tél : 02 34 08 26 04 / 06 33 26 13 14
More information about the rsync
mailing list