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

DC Updated by Daniel Curtis about 11 years ago Actions #1

  • Description updated (diff)

DC Updated by Daniel Curtis about 11 years ago Actions #2

  • Status changed from New to Resolved

DC Updated by Daniel Curtis about 11 years ago Actions #3

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

Also available in: PDF Atom