![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to exclude top level directory with find? | siegfried | Shell Programming and Scripting | 3 | 09-18-2007 11:15 PM |
| how to stop to current directory using find | james_falco | UNIX for Dummies Questions & Answers | 1 | 07-17-2007 08:43 PM |
| Question about Restricting Search path of FIND to current directory | super_duper_guy | UNIX for Dummies Questions & Answers | 2 | 10-17-2005 09:10 AM |
| find directory not including current | dangral | UNIX for Dummies Questions & Answers | 2 | 01-26-2005 03:02 PM |
| using find command only in current directory | jliebling | UNIX for Dummies Questions & Answers | 5 | 02-22-2001 10:00 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
how do i exclude the current directory when using find?
i want to compile a list of files in all sub directories but exclude the current directory.
the closest i could get was to search 'only' the current directory, which is the opposite of what i wanted. Code:
find . ! -name . -prune |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|