You would need ls -tR, and even then I don't think that works. I'm
not at a computer, but iirc the sorting options to ls only affect how
each directory's immediate children are listed, rather than sorting
the whole hierarchy.
Ï just confirmed that behavior. I also concocted a solution using
find -newer and -exec touch -r, but it seems that find(1) stats the
argument to -newer only once, so that didn't work. So far an external
scripting language still seems like the way to go.
I don't suppose the Finder has a "newest file" field...?
Mark J. Reed <email@hidden>
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden