LoginSignup
7
8

More than 5 years have passed since last update.

findコマンドで100MB以上のファイルが存在するか確認するには

Last updated at Posted at 2016-02-15

実現したいこと

現在操作中のカレントディレクトリから、下位のディレクトリにおいて100MB以上のファイルが存在するか確認したい

実現方法および解決方法

findコマンドのsizeオプションで容量を指定し、検索すればよい

実行コマンド

find . -type f -name '*.*' -size +100M -mtime 0

情報源

man find

補足

7
8
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
7
8