Posts

Showing posts with the label rm

Argument list too long

I've run into this running rm * and du -hcs *. Solution is to pass the command via pipe and use xargs: find . -name 'filename*' | xargs rm