rsync: exclude doesn't work?

2004-02-13 Thread Rob


Hi,

I use rsync to back up my files, but I want to exclude uninteresting bulk
files in cache directories of netscape, opera and mozilla. After reading
the man pages, I use following call:
/usr/local/bin/rsync \
--exclude rob/.netscape/cache/ \
--exclude rob/.mozilla/**/Cache/ \
--exclude rob/.opera/cache4/ \
-avzC /home/rob /home/BACKUP
However, the exclude lines seem to be ineffective; all the cache directories
are rsync'ed each time this backup script runs.
Any ideas why that is?

Thanks
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rsync: exclude doesn't work?

2004-02-13 Thread matthew


On Sat, 14 Feb 2004, Rob wrote:



 Hi,

 I use rsync to back up my files, but I want to exclude uninteresting bulk
 files in cache directories of netscape, opera and mozilla. After reading
 the man pages, I use following call:

 /usr/local/bin/rsync \
  --exclude rob/.netscape/cache/ \
  --exclude rob/.mozilla/**/Cache/ \
  --exclude rob/.opera/cache4/ \
  -avzC /home/rob /home/BACKUP


Shouldn't there be a tilde before rob?

As in ~rob/.opera/cache4/ for example.

;)

m

 However, the exclude lines seem to be ineffective; all the cache directories
 are rsync'ed each time this backup script runs.

 Any ideas why that is?

 Thanks
 Rob.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]