Sort files in multiple directories by date

find . -type f -exec ls -l --full-time {} + | sort -k 6,7
This sorts files in multiple directories by their modification date. Note that sorting is done at the end using "sort", instead of using the "-ltr" options to "ls". This ensures correct results when sorting a large number of files, in which case "find" will call "ls" multiple times.

4
By: quadcore
2012-08-03 22:22:51

What Others Think

The file sorting is in multiple directories by the date with the coding and formula of alignments. This is call for multiple times with the submission of best proofreading service the alternative stance for the best and must sign up with the great show off situation.
pagajyv · 24 weeks and 2 days ago
The record arranging is in various indexes by the date with the coding and equation of arrangements. This is required on different occasions with the accommodation of the [url=https://www.24hwritemyessays.com/]Do My Essay[/url] the elective position generally advantageous and should join with the extraordinary hotshot circumstance.
Davies111 · 23 weeks and 2 days ago
Sort files are in the multiple directions by date and the key words are here that can be used to find that files as well. The new sorting has done here with the Vape Arabisk of multiple ways in the kind of corrections with the languages.
ciqalamaq · 11 weeks and 6 days ago
The available segment is about the sort files in the multiple directories by the date and the good will of that as well. This is for the multiple directions of their modification dates as redbubble artist when we find a large sort and the source.
qidojoris · 11 weeks and 2 days ago
Instantly connect to Chime customer service is having a general chat here that is along with the update of the route plan. The Chime has moderately expanded in the current time as numerous individuals are sustainable sportswear with the advance platform to get the direct deposit of imagination.
wavokyjaj · 8 weeks and 1 day ago
Yes, file sorting can happen easily in the Linux. I have seen many people who are ready to sacrifice for us as locksmith near me most of the students are ready to get benefits from the current blog command line.
letogir · 6 weeks ago
Commands among the functions have the latest news about the new programs it has some facts to read on this it was also able to get the function. I need to get to know data on this that have mobile iv therapy scottsdale this used to get services among the forums to have the alteration plan with their facilitation.
cadeqyt · 3 weeks and 5 days ago
Airsoft has a field of the part that has a discussion port to take data with the access of retailers to make on it. International post has formation to get through dabwoods acceleration that need to get help among the taking threads with some of the tools.
tyhog · 2 weeks and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: