selective dirs only

Res res at ausics.net
Sun Jun 15 20:20:58 EST 2003


Hi All,

Just to get the jist of things, trying to sort 5 diff rsyncs into the same
process:)    if I want to copy only say 2 dirs and everything under them
 when use include exclude, I have to define the dir first then the
dir/all ?    like :
rsync -azr host::/top_dir --include "pub/" --include "pub/*" --include "ftp1/"
--include "ftp1/*" --exclude "*" /local/top_dir

TIA.




More information about the rsync mailing list