Re: Need help of exclusion options in rsync-3.0.6

2009-07-27 Thread Jignesh Shah
Thanks Matt, that was great information. I think I don't need to use exclude at all and just need to user H and P flags with --filter option. Also I will need to use --delete option to remove directories filtered H flag. The below command meets exactly my requirements: rsync -avz /foo/bar/

Re: Need help of exclusion options in rsync-3.0.6

2009-07-27 Thread Carlos Carvalho
Matt McCutchen (m...@mattmccutchen.net) wrote on 26 July 2009 17:45: On Sun, 2009-07-26 at 21:37 +0530, Jignesh Shah wrote: I have a situation where I want to delete some of my excluded patterns but still want to preserve some other. For example consider below source and destination

Re: Need help of exclusion options in rsync-3.0.6

2009-07-27 Thread Jignesh Shah
Yup, it is working. On Mon, Jul 27, 2009 at 7:42 PM, Carlos Carvalho car...@fisica.ufpr.brwrote: Matt McCutchen (m...@mattmccutchen.net) wrote on 26 July 2009 17:45: On Sun, 2009-07-26 at 21:37 +0530, Jignesh Shah wrote: I have a situation where I want to delete some of my excluded

Need help of exclusion options in rsync-3.0.6

2009-07-26 Thread Jignesh Shah
Hi, I have a situation where I want to delete some of my excluded patterns but still want to preserve some other. For example consider below source and destination directory hierarchy. SourceDest -- - /foo/bar/ /foo/bar/

Re: Need help of exclusion options in rsync-3.0.6

2009-07-26 Thread Matt McCutchen
On Sun, 2009-07-26 at 21:37 +0530, Jignesh Shah wrote: I have a situation where I want to delete some of my excluded patterns but still want to preserve some other. For example consider below source and destination directory hierarchy. SourceDest --