Results 1 to 6 of 6
Trying to find a directory named tmp and exclude any named .svn. Nothing I have tried works. Any suggestions?...
- 07-02-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 3
find directory exclude directories
Trying to find a directory named tmp and exclude any named .svn. Nothing I have tried works. Any suggestions?
- 07-07-2009 #2Just Joined!
- Join Date
- Jul 2009
- Posts
- 7
Try this
find -name tmp ! -name ".svn"
- 07-07-2009 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 3
- 07-07-2009 #4
try this
find -name tmp|grep -v .svn
I m not sure if it will work but let me know if it doesn'tOnly if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 07-07-2009 #5
- 07-07-2009 #6
bingo!!
that was just a wild guessOnly if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu


Reply With Quote

