LoginSignup
0

More than 3 years have passed since last update.

コマンド:du, find, rsync

Last updated at Posted at 2020-08-22

rsync

duコマンド

ディレクトリのサイズ(合計)を表示

$ du -sh [ディレクトリ]

findコマンド

ディレクトリ以下のファイルを検索
※参考:https://uxmilk.jp/8583

$ find ./ -name "*.txt" -type f

(Google Colab)実行結果をリストへ

a = !find ./ -name "*.txt" -type f
a = list(a)

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