Sometimes that message is a real pain...try using find as it will do the
wildcard expansion for you and not rely on the shell....

something like:

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

check the syntax as it might be wrong...

Martin

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2000 03:32
To: '[EMAIL PROTECTED]'
Subject: Arguments too long


'hatters,

prolly an easy question.

when i want to nuke a huge number of files in a given directory, i will
usually use globbing, something like, 'rm *March*' 

sometimes, in directories with hundreds of thousands of files
i'll try a big glob rm and get an error like 'Arguments too long'.

What determines how long that argument list can be, and could it be
temporarily changed for similar purposes?

tia
jon


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to