Red Hat Bugzilla – Bug 147928
Alphabetic sort capability for find
Last modified: 2007-11-30 17:11:00 EST
Sometimes it would be handy if "find" could process output for each
directory in alphabetical order, like ls does by default. Merely
piping to "sort" mixes the output from multiple directories.
Could you give an example of why that might be useful?
If I remember correctly, I was passing the output of find to some script that
needed relative pathnames. I think I was using it to produce a report sorted by
directory, and I wanted the contents of each directory to be alphabetized,
because otherwise it was too annoying to find any particular file in the listings.
Please submit this request on the https://savannah.gnu.org/projects/findutils