Are you using wildcards in the arguments to rm ?

Rather use find | xargs or find -exec which are designed to deal with
exactly this circumstance.

On 17 Jul 2011 9:32 PM, "Grant" <emailgr...@gmail.com> wrote:

My crontab deletes all files of a certain type in a certain folder
with yesterday's date in the filename.  It usually executes but
sometimes fails with:

/bin/rm: Argument list too long

What would you do about this?

- Grant

Reply via email to