Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing multiple files.

Status
Not open for further replies.

andycox

Technical User
Jun 28, 2002
16
0
0
GB
Attempting to remove a large number of files in a directory which are no longer required. Following message is displayed:

Warning: Table_grow-exec data table page limit of 63 pages (MAXEXECARGS) exceeded by 1 pages
/bin/rm: arg list too long.

Is there any quick way of removing the files.
 
Not sure how quick it will be, but you could try:

find <dirname> -name '*' -exec rm {} /;

Try with a -print first to confirm they are the files you want rid of.

HTH.
 
Something like this ?
find dirname -type f | xargs rm

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top