I know one of the more seasoned veterans probably opened this thread looking for their chance to refer me to the site's search feature and let me tell you.
I'VE LOOKED!!!! And I didn't find anything helpful...
So, I've got a windows background and I'm fond of its search feature which comes with the option to specify a single directory in its search path. Or I like being able to sort a directory in Windows and view the directories first, without having to sift through massive amounts of other files betwixt.
I've tried to duplicate this sort of application with unix's find command, using the -prune option, but I have been unsuccessful.
Can anybody provide insight into this matter for me?
usually, I'm working in the directory where I want to search and want to restrict the search to that location. e.g.
# find . -type d -prune
.
That's it--it usually returns just the current working directory as a result. I know I'm wrong, VERY WRONG. So skip the courtesy of telling me and just correct/inform me proper.
A thousand thanks in advance if you can correctly inform me.
your friendly neighborhood programmar