ディレクトリ以下で指定した日付以降に更新されたファイルのみを表示
実行コマンド
find ./ -type f -newermt "2025-09-01" -exec ls -l {} +
# または
find ./ -type f -newermt "2025-09-01" -exec ls -l {} \;
出力例
-rwxr-xr-x 1 root root 4952 9月 1 15:13 ./old/test.py
-rwxr-xr-x 1 root root 6870 9月 2 13:39 ./old/hoge.py
-rwxr-xr-x 1 root root 9840 9月 8 16:53 ./old/aaaa.py
-rwxr-xr-x 1 root root 5350 9月 17 11:00 ./old/fuga.py
-rwxr-xr-x 1 root root 9578 9月 12 17:31 ./hoge2.py
ディレクトリ以下で指定した日付以前に更新されたファイルのみを表示
find ./ -type f ! -newermt "2025-09-01" -exec ls -l {} +