find -exec question

R Kimber richardkimber at btinternet.com
Sun May 11 18:05:45 UTC 2014


When I use 'find' with the '-exec' option, I see that it does not pass the
filenames to the program being executed in alphabetical order of directory
name.

What is the criterion 'find' uses to order its results? Is there a
way of getting it to traverse the directory structure alphabetically, so
that I can process each directory in alphabetical order?

- Richard.
-- 
Richard Kimber





More information about the ubuntu-users mailing list