Search Results

Search: Posts Made By: 1or2is3
26,982
Posted By 1or2is3
I have finally found. The following command find...
I have finally found. The following command find the latest file, including the handling of filename with spaces.

find . -type f -printf %p";" | xargs -d ";" ls -t | head -1
26,982
Posted By 1or2is3
Could you please be more explicit, how do I get...
Could you please be more explicit, how do I get the sorting by date?
26,982
Posted By 1or2is3
How to find the latest file on Unix or Linux (recursive)
Hi all,

I need to get the latest file. I have found this command "ls -lrt" that is great but not recursive.

Can anyone help?

Thanx by advance.
Showing results 1 to 3 of 3

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