vibranze
7th June 2007, 09:01
Hi Falko,
Thanks for the great article of Mirroring your website with Rsync. I have a question on the exclude parameter, you mentioned "exclude="**/abc" mean that it will exclude /var/www/abc.
If I want to rsync /data/* directory and want to exclude /data/user1/Temp, so what should I put in exclude, should I put "exclude=**/Temp" or "excluded=*/Temp"? Is the * go by level of folders?
And let's say if the target directory is already have "Temp" directory from the first rsync, will it be deleted if I exclude the Temp on the next rsync?
Kindly advise.
Cheers,
Vibranze
Thanks for the great article of Mirroring your website with Rsync. I have a question on the exclude parameter, you mentioned "exclude="**/abc" mean that it will exclude /var/www/abc.
If I want to rsync /data/* directory and want to exclude /data/user1/Temp, so what should I put in exclude, should I put "exclude=**/Temp" or "excluded=*/Temp"? Is the * go by level of folders?
And let's say if the target directory is already have "Temp" directory from the first rsync, will it be deleted if I exclude the Temp on the next rsync?
Kindly advise.
Cheers,
Vibranze