LoginSignup
0
1

More than 5 years have passed since last update.

大きなフォルダをduコマンドで確認する

Posted at

ディスク容量を確認するコマンド

$ sudo du -sh *

4.0K    package.json
33.8M   server
 101M   src
4.0K    tsconfig.json

容量が多いフォルダを探せるコマンド

$ sudo du -g -x -d 10 / | awk '$1 >= 10{print}'

10  /.MobileBackups
16  /Applications/Xcode.app/Contents
18  /Applications

上記のコマンドで10GB以上のフォルダを確認できます。

0
1
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
0
1