#author("2020-03-12T11:21:13+09:00","default:kondo","kondo") #author("2020-03-12T11:23:42+09:00","default:kondo","kondo") *find [#pd9b4d2b] **あるディレクトリ以下の特定の拡張子のファイルの一覧をファイルに保存 [#e329d8fb] あるディレクトリ以下の特定の拡張子のファイルの一覧をファイルに保存 find ./ -type f -name "*.txt" | tee temp.txt **消す場合はこれ。(要注意!) [#x351b855] 消す場合はこれ。(要注意!) find /hogehoge -type f -name "*.bak" -delete **あるサイズ以上のファイルの一覧 [#rd6b7751] あるサイズ以上のファイルの一覧 find ./ -type f -size +1G -print find ./ -type f -size +1000M -fprint temp.txt find ./ -type f -size +1G -exec ls -sh {} \;