If you have a ton of files in a directory and you need to remove them, but rm says that the "argument list [is] too long", just use find and xargs:
find . -name 'filename*' | xargs rm -vf
If you have a ton of files in a directory and you need to remove them, but rm says that the "argument list [is] too long", just use find and xargs:
find . -name 'filename*' | xargs rm -vf
RSS feed for comments on this post
Copyright 2012 Major Hayden / Theme: R755 / This request brought to you by .
What if the find command says the "Argument list [is] too long"?!