How To Find The Oldest File In A Directory Tree In Linux - OSTechNix

PHOTO EMBED

Sat Mar 20 2021 07:37:59 GMT+0000 (Coordinated Universal Time)

Saved by @nofacetou #bash

$ find /home/sk/ostechnix/ -type f -printf '%T+ %p\n' | sort | head -n 1
content_copyCOPY

寻找目录中最早文件

https://ostechnix.com/find-oldest-file-directory-tree-linux/