[CentOS] rsync

Sun Jul 30 18:11:14 UTC 2006
Melinda Odom <info at designhosting.biz>

Hi,

I tried these and none of them worked:
Add this you your rsync command --exclude=**/cache --exclude **/download
--exclude**/pub, and see if it gives you the required result. If not then
please be more specific.

On 7/27/06, Troy Engel <tengel at fluid.com> wrote:
>
> Melinda Odom wrote:
> >
> > I have also read the man pages but am not understanding.
>
> What part of the '--exclude=[PATTERN]' part of the man page is giving
> you trouble? Is something not matching correctly, overmatching too much
> or...?

I found this someplace on the Internet and tried it and it did work:
rsync -av --delete --exclude "/cache/" --exclude "/download/"

Does this difference have to do with what version rsync is?

Sincerely,
Melinda Odom


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.5/403 - Release Date: 7/28/2006