[Ilugc] Re: Rsync Help

  • From: anjeas_net@xxxxxxxxx (Ashok Antony)
  • Date: Thu Aug 18 09:06:26 2005

Hi,
you can try in this way,

The '*' specifies 2 levels from the source, so try to change the --exclude as 
--include and try.
That will work fine.
--exclude  "/foo/*/bar"  would  exclude  any file called bar two
        levels below a base directory called foo

--include  "/foo/*/bar"  would  include  any file called bar two
        levels below a base directory called foo
 
 
 
with regards,
__ASHOK__S__

 

 

 

Dear sir, 
       I need to sync data from one machine to another using Rsync. 
That is only upto maximum depth of 2 levels. (But the source folders 
have depth of 5 levels out of which i need only upto 2 levels). 

Do anyone know the option for this to achieve the result. 
 
Thanks and Regards, 
S.Rajkumar  
 
 
 

                
---------------------------------
 Start your day with Yahoo! - make it your home page 

Other related posts:

  • » [Ilugc] Re: Rsync Help - Ashok Antony