# rm `ls | grep 削除ファイル`
-bash: /bin/rm: Argument list too long
[回避方法]
# ls | grep 削除ファイル | xargs rm
[xargsコマンド]
標準入力から引数を読み込み、指定のコマンドへ渡す。
「備忘録 ARG_MAXの制限による、rmエラーの回避 (Linux)」への2件のコメント
I just couldn’t depart your site before suggesting that I actually loved the usual information a
person supply in your guests? Is going to be again regularly in order to check up
on new posts
I just couldn’t depart your site before suggesting that I actually loved the usual information a
person supply in your guests? Is going to be again regularly in order to check up
on new posts
I don’t know the meaning of your comment.
But, thanks for coming on my blog.