|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Understanding find -depth
I was looking at a code and stumbled over the option -depth of find command After searching what -depth does I found the below: Code:
-depth Process each directory's contents before the directory itself. Does it mean the sub directories are processed before the current directory in the search operation ? Please help in understanding Thanks |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Check out the wikipedia article tree traversal and look for
generic tree and note the difference between depth-first and breadth-first searches.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cmd find: exclude directory when using option -depth | bora99 | UNIX for Dummies Questions & Answers | 3 | 03-15-2012 12:10 PM |
| Understanding 'find' command | sears | Shell Programming and Scripting | 2 | 10-29-2010 12:14 AM |
| find depth using ftw | germallon | Programming | 2 | 06-17-2008 10:58 AM |
| Controlling depth with find | la_womn | Shell Programming and Scripting | 12 | 05-21-2008 02:20 AM |
| mq queue depth | Satyak | Shell Programming and Scripting | 0 | 02-13-2008 04:28 AM |
|
|