Project

General

Profile

Actions

Bug #485

closed
DC DC

/bin/rm Argument List Too Long Error

Bug #485: /bin/rm Argument List Too Long Error

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

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

100%

Estimated time:
0:30 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

Actions

Also available in: PDF Atom