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

#1

Updated by Daniel Curtis about 10 years ago

  • Description updated (diff)
#2

Updated by Daniel Curtis about 10 years ago

  • Status changed from New to Resolved
#3

Updated by Daniel Curtis about 10 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF