Project

General

Profile

Bug #485

/bin/rm Argument List Too Long Error

Added by Daniel Curtis about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
12/04/2014
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

I came across a problem delete a massive amount of individual files, the error displayed the following:

/bin/rm: Argument list too long.

After doing a bit of research online I came across a neat solution to work around this issue.

cd /path/to/directory
find . -name '*' | xargs rm

Resources

Also available in: Atom PDF