Find the oldest file in the current directory (find)
find . -type f -printf '%T+\t%p\n' | sort -n | head -n 1
Locates and prints the timestamp and name of the oldest file within the current directory and its subdirectories.
find . -type f -printf '%T+\t%p\n' | sort -n | head -n 1
Locates and prints the timestamp and name of the oldest file within the current directory and its subdirectories.