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:
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.
There is 1 alternative - vote for the best!
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
List all files from the current directory and subdirectories, sorted by modification time, oldest first.
If you can do better, submit your command here.
You must be signed in to comment.