commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
Here's a version that doesn't use find.
There are 2 alternatives - vote for the best!
This uses the ability of find (at least the one from GNU findutils that is shiped with most linux distros) to display change time as part of its output. No xargs needed.
Works with files containing spaces and for very large directories.
here's a version which works on OS X.
find and normal files and list them sorting with modification time without group
l: with detailed information
t: sort with modification time
r: reverse order
h: show file's size in human-readable format, such as K(kilobytes), M(megabyes) etc.
g: do not show group
If you can do better, submit your command here.
You must be signed in to comment.