Search Results

Search: Posts Made By: jeisma
993
Posted By vgersh99
or if you insist on working with ls -lt, the old...
or if you insist on working with ls -lt, the old awk/cut trick:
ls -lt | awk '{print $NF, $0}' | sort -t '.' -k1,1 -k2.2,2n | cut -d ' ' -f2-
993
Posted By MadeInGermany
It becomes simpler when you only have the file...
It becomes simpler when you only have the file names, i.e. with a simple ls command.
Then you can use the dot as the field delimiter, sort for field #1 primary and field #2 secondary. And in field...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy