Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] Syntax of Rsync Exclude File

John Summerfield

2008-04-23

Replies:

Author LoginPost Reply
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
1aaaaaaa@(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
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.