User Tools

Site Tools


tips:linux:toomanyargs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:linux:toomanyargs [2009/06/08 15:23]
erik created
tips:linux:toomanyargs [2009/06/14 10:50] (current)
erik
Line 1: Line 1:
 +====== Getting around Too Many Args error ======
  
 +Some Linux applications such as rm have a maximum limit on the number of files which they can process. To get around this limit you can use the following command:
 +
 +<​code>​find $directory -name '​*'​ -exec rm {} \;</​code>​
 +
 +Replace $directory with the name of the directory you want to clean out and this command will remove everything in the directory regardless of how many items there are.
tips/linux/toomanyargs.txt · Last modified: 2009/06/14 10:50 by erik