Answers for "linux get oldest file in directory"

0

linux get oldest file in directory

$ find /home/sk/ostechnix/ -type f -printf '%T+ %p\n' | sort | head -n 1
Posted by: Guest on May-07-2022

Code answers related to "linux get oldest file in directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language