From: | Alan McKinnon <alan.mckinnon@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Any way around "Argument list too long"? | ||
Date: | Sun, 17 Jul 2011 21:15:53 | ||
Message-Id: | CAEdtorbHtmhJYvKmtUeDKDBHFZ2k=f=6gX+=PYb3YgK8xekE7A@mail.gmail.com | ||
In Reply to: | [gentoo-user] Any way around "Argument list too long"? by Grant |
1 | Are you using wildcards in the arguments to rm ? |
2 | |
3 | Rather use find | xargs or find -exec which are designed to deal with |
4 | exactly this circumstance. |
5 | |
6 | On 17 Jul 2011 9:32 PM, "Grant" <emailgrant@×××××.com> wrote: |
7 | |
8 | My crontab deletes all files of a certain type in a certain folder |
9 | with yesterday's date in the filename. It usually executes but |
10 | sometimes fails with: |
11 | |
12 | /bin/rm: Argument list too long |
13 | |
14 | What would you do about this? |
15 | |
16 | - Grant |
Subject | Author |
---|---|
[gentoo-user] Re: Any way around "Argument list too long"? | walt <w41ter@×××××.com> |