Re: selective dirs only

2003-06-16 Thread Res
Hi Wayne, On Sun, 15 Jun 2003, Wayne Davison wrote: > On Sun, Jun 15, 2003 at 09:16:22PM +1000, Res wrote: > > Ahh ok, I thought the -r would take care of all files and dirs under it. > > The -r just gets it going, the exclude "*" excludes anything that > doesn'

Re: selective dirs only

2003-06-15 Thread Res
>Only if you don't care about the contents of subdirectories. >If you wanted to get all files and subdirectories of pub > you would want --include=/pub/ --include=/pub/** Ahh ok, I thought the -r would take care of all files and dirs under it. -- To unsubscribe or change options: http://lists.s

selective dirs only

2003-06-15 Thread Res
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 "p