You are not logged in.
Right now I've got a script with this line to find all mp3's in a directory and subdirectories...
find . -iname '*.mp3'
I would very much like to separate this into two different lists of mp3s. I need one list of the mp3's which are in subdirectories, and one list of the mp3's which are in the current location. I have looked at man pages of the find command and cannot see how to do it. Any ideas, anyone? Thanks!
Offline
Would the '-maxdepth' and '-mindepth' options be of any use to you?
larch: http://larch.berlios.de
Offline
Exactly what I needed. Thanks!
Offline