Call Savance Workplace Call Us: (248) 478-2555

Support Suite

User Login



 

Main

Knowledgebase: Array
Deleting all the files using rm does not work and returns parameter list too long
Posted by Savance on 21 January 2011 12:57 AM

If a simple rm *.* does not work and returns “parameter list too long”, there is a way around this.


Change directories to the /data13/savance/exports directory.   Then you should run the following command:


find . -name "*.*" -exec rm {} \;


This will remove all the files in the working directory and get around the “parameter list too long” error that comes up when too many files are in a directory.