Last active
August 29, 2015 14:18
-
-
Save e2kaneko/dc6901f5b2f988c10e7a to your computer and use it in GitHub Desktop.
findコマンドで更新日がn日以内のファイル一覧を取得する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #更新日が1日前のファイルをリストアップ(現在の24時間前を起点にその過去24時間) | |
| find . -mtime 1 | |
| #更新日が1日以内のファイルをリストアップ(現在から24時間前まで) | |
| find . -mtime -1 | |
| # 分で指定する場合は↓ | |
| find . -mmin -60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment