Sorting by date
Colin Law
clanlaw at googlemail.com
Tue Mar 1 09:10:36 UTC 2011
On 28 February 2011 21:24, MR ZenWiz <mrzenwiz at gmail.com> wrote:
> On Mon, Feb 28, 2011 at 12:35 PM, erikmccaskey64
> <erikmccaskey64 at zoho.com> wrote:
>>
>> Original:
>> Jan 23 2011 10:42 SOMETHING 2007.12.20.avi
>> Jun 26 2009 SOMETHING 2009.06.25.avi
>> Feb 12 2010 SOMETHING 2010.02.11.avi
>> Jan 29 2011 09:17 SOMETHING 2011.01.27.avi
>> Feb 11 2011 20:06 SOMETHING 2011.02.10.avi
>> Feb 27 2011 23:05 SOMETHING 2011.02.24.avi
>> Output:
>> Feb 27 2011 23:05 SOMETHING 2011.02.24.avi
>> Feb 11 2011 20:06 SOMETHING 2011.02.10.avi
>> Jan 29 2011 09:17 SOMETHING 2011.01.27.avi
>> Jan 23 2011 10:42 SOMETHING 2007.12.20.avi
>> Feb 12 2010 SOMETHING 2010.02.11.avi
>> Jun 26 2009 SOMETHING 2009.06.25.avi
>> How could I get the output where the newest file is at the top?
>>
>
> Are you using Ubuntu or CentOS? Ubuntu has online forums for
> questions like this, a great many of whose answers can also be found
> in any Linux system's man pages, like, in this case, man ls.
Will that help if the timestamps on the files do not match the file
names, which they may not? I assumed the reason for the question was
that they did not, OP?
Colin
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list