I'm running a local CPAN mirror and there is one recursive subdirectory I desire to exclude. I've tried many different syntax variations with no luck. Someone let me know where I'm going wrong: /usr/bin/rsync -av --delete --exclude '/src/***' --no-implied-dirs \ --delete-excluded --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/ Thanks. -- Love feeling your best ever, all day, every day? Click http://RadicalHealth.com/join for the easy way.
On Fri 30 May 2008, David Favor wrote:> > /usr/bin/rsync -av --delete --exclude '/src/***' --no-implied-dirs \ > --delete-excluded --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/When I try this (with -n added, as I have no interest in downloading all of that), I don't see any paths beginning with /src/ being listed. The last file listed is "scripts/text-processing/wptoascii". What's the problem? Paul Slootman