linux findとrmコマンドでファイル一括削除 ディレクトリ内の指定した日付以前の古いファイル find ./ -mtime +29で30日前以前のファイル まずはfindコマンドで指定した日付(+1)以前のファイルリストを取得てきます。 find ./ -maxdepth 1 -mtime +29 -name "*.p... 2022-05-23 linux