How to exclude directories from source with --relative
david at davidfavor.com
Wed May 28 11:28:57 GMT 2008
I must be missing something. I've tried many different combos
of args and still can't get --exclude to work.
I'm mirroring CPAN and desire to exclude all subdirs/files in
the src directory. Here's the arg list I'm using:
/usr/bin/rsync -av --delete --exclude '/src/***' --no-implied-dirs \
--delete-excluded --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/
Let me know what I'm missing.
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com/join for the easy way.
More information about the rsync