1 |
On Sun, 17 Jul 2011 12:32:42 -0700, Grant wrote about [gentoo-user] Any |
2 |
way around "Argument list too long"?: |
3 |
|
4 |
> My crontab deletes all files of a certain type in a certain folder |
5 |
> with yesterday's date in the filename. It usually executes but |
6 |
> sometimes fails with: |
7 |
> |
8 |
> /bin/rm: Argument list too long |
9 |
> |
10 |
> What would you do about this? |
11 |
|
12 |
Use find with the -delete option. |
13 |
-- |
14 |
Regards, |
15 |
|
16 |
Dave [RLU #314465] |
17 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |
18 |
dwnoon@××××××××.com (David W Noon) |
19 |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* |