LoginSignup
1
0

More than 5 years have passed since last update.

findで直近に更新されたファイルを探す方法

Last updated at Posted at 2018-03-15

こんな時に

開発や調査などで「この処理で結果(やログ)があのディレクトリ配下の何処かに出てたはずだけど………、ど こ だ っ け ?」な場合

コマンド例

$ find [あのディレクトリ] -type f -mmin [直近n分なのでマイナス指定]
  • 直近3分以内にカレンドディレクトリ配下で更新されたファイルを探して表示
$ find ./ -type f -mmin -3

雑記

たまに使おうとするとオプションをど忘れしている事があるのでメモ

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0