Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] using find
- Date: Wed, 9 Jun 2004 16:43:03 +0900
- From: Jim Tittsler <jwt-tlug@example.com>
- Subject: Re: [tlug] using find
- References: <20040609143256.9880.B-ROBSON@example.com>
- Organization: 7J1AJH/AI8A Tokyo
- User-agent: Mutt/1.4.1i
On Wed, Jun 09, 2004 at 02:48:55PM +0900, Brett Robson wrote: > I have an annoying problem with find. I need to find all files under a > directory but ignore one subdirectory and under it. This is because the > English version of our site is in a sub directory of the main directory, > picking up all the English pages is easy but not Japanese pages. Maybe a combination of '-not -path': find . -not -path "./english*" -print (This will be suboptimal if you have an ./englishnotreally/ directory tree... but using a -path "./english/*" would leave a ./english entry in the output.) P.P.S. For some (old? non-Gnu?) find, you have to spell '-not' as '!'. -- Jim Tittsler GPG: 0x01159DB6 Kanto Computer Calendar http://www.OnJapan.net/calendar/ Python Starship http://Starship.Python.net/
- References:
- [tlug] using find
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: [tlug] using find
- Next by Date: [tlug] [reminder] June nomikai
- Previous by thread: [tlug] using find
- Next by thread: Re: [tlug] using find
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links