|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to sort by time
Hi--
I now have find -x / -ls which gets all the results I need. But I still need to sort the results. I can do find -x / -ls | sort but after that, I have no idea what options to use for sort. Anyone? All My Best, Jeffrey |
|
#2
|
|||
|
|||
|
Try this example -
$ find . -name "*.sql" -type f -exec ll {}\; > temp1 $ tr -s ' ' " " <temp1 > temp2 $ sort -n +7 +6 +8 temp2 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > How to sort by time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|