User Tools

Site Tools



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

Link to this comparison view

tips:linux:toomanyargs [2009/06/08 08:23]
erik created
tips:linux:toomanyargs [2009/06/14 03:50] (current)
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 03:50 by erik