Tim Evans wrote:
I'm having trouble getting the syntax of an rsync exclude file right.

Me too.

I want to exclude all of the directories and subdirectories in a directory
tree that are named "TMP" (including one in the top-level of the tree),
and have the following in my exclude file:

- TMP/

Seems simple enough, but it isn't working.  What have I done wrong?  Thanks.
--exclude=*TMP/ seemed to work for me.

Take care tho that it doesn't match and exclude something it ought not.

--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to