Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Apple server, and when I use ls -alFt

output shows:

"drwxrwxrwx   267 admin  www        9078 Mar 31  2010 3/"


"drwxrwxrwx   483 admin  www       16422 Jul  9 09:58 26/"

what is the real time?

I'm looking for older folders to move it, but I don't understand the output format.

share|improve this question
up vote 3 down vote accepted

ls only shows the creation time if the file was recently made (6 months, according to man ls), otherwise it shows the year. If you want to see full information on a file or directory use stat. It's manpage has examples on how to combine stat with sort to order things around by modification time.

What you probably want, though, is find . -mtime +365d with a suitable age in there in place of 365 days.

share|improve this answer


 -t      Sort by time modified (most recently modified first) before sorting the operands by lexicographical order.

"drwxrwxrwx 267 admin www 9078 Mar 31 2010 3/" <== older

"drwxrwxrwx 483 admin www 16422 Jul 9 09:58 26/" <== newer

if you using ls -alFt, so the first line is the newest

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.