Search Results

Search: Posts Made By: DOWD_R
3,248
Posted By DOWD_R
Hey Folks, Cheers, the below worked a treat...
Hey Folks,

Cheers, the below worked a treat for me:

ls | sort -r | grep -v latest | head -1

Thanks!

Ronan
3,248
Posted By DOWD_R
Finding latest dir based on it's name (yyyymmdd)
Hi Folks,
As part of my application I need to find out what the latest directory based
on the name of that directory (not it's file system timestamp).
Example: I have a directory which contains...
Showing results 1 to 2 of 2

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