Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • thanks a lot. Although I was sort of confused by the words deeper and lower, but I got it eventually Commented Jul 8, 2018 at 22:39
  • @user1993, yeah, that didn't come out right. I suppose the opposite of "deep" is "shallow", but that doesn't really sound fitting here. Edited, hopefully for the better. Commented Jul 8, 2018 at 22:43
  • Depth implies the hierarchy of a file system. Why are "command line arguments" considered part of the file system?? Perhaps you could clarify that this means the root/starting point of the find i.e. the directory passed as an argument. Commented Nov 10, 2021 at 7:24
  • @Marc, fine, "for the purposes of the -mindepth and -maxdepth options, the files named on the command line are considered to be at depth 0; files contained within them at depth 1; and in general, files contained within files at depth N are considered to be at depth N+1." better? Commented Nov 10, 2021 at 11:03