47
50

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Linux] findコマンドで指定した日付の範囲に更新されたファイルを検索する

Last updated at Posted at 2016-02-12

mtime で指定するより便利なので、備忘録として記述

例:カレントディレクトリ以下で、2015-10-01から2016-01-31の期間に変更されたPHPファイルを検索し一覧表示する
find . -type f -name "*.php" -newermt "2015-10-01" -and ! -newermt "2016-01-31" -ls
47
50
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
47
50

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?