Last-modified: 2018-02-23 (金) 14:20:34 (2048d)
find 任意のファイルの更新日時よりも更新日時が新しいファイルを検索 †
- syntax:
find 検索Path -newer 元ファイル名
find ./ -newer targetfile
find ./ -newer targetfile -exec mv {} ./backup \;
- comment:
元ファイル名で指定されたファイルの更新日時よりも更新日時が新しいファイルを検索する。
exec を使用することで、ヒットした物を、個別に処理可能
- Example:
Tag: Linux find
Goto Top Page