Include-from ?

Johannes Liedtke lists at
Sun Aug 3 23:32:46 EST 2003

On Sunday 03 August 2003 15:14, Max Kipness wrote:
> Thanks for the info. I actually did not specify my configuration right
> so that it is where I was going wrong. However, I'm still not able to
> only rsync /Test2.
> My root directory is:
> /Rootdir
> And then subdirectories of /Rootdir are:
> /Test1
> /Test2
> /Test3
> To get only /Test2, I tried the following in the include-only file:
> + Rootdir/Test2/
> - /*
> This syncs nothing and gives me: excluding directory Rootdir because of
> pattern /*.

Maybe I missed something important here, but what's keeping you from just 
rsync -az /Rootdir/Test2/ /somebackupDir/

This would only sync the contents of Test2 to somebackupDir.
For your task (as you described it) there's no need for --include or --exclude 


Powered by SuSE 8.1pro - KDE 3.0.3 - KMail 1.4.3

It never ceases to amaze me how many people can't read instructions.
 - Renze de Ruiter on kde-linux

More information about the rsync mailing list