on Fri, 19 Dec 2003 11:47:32AM +0200, Dobai-Pataky Balint insinuated:
> i have a webcam logging all motion into jpgs, my php code does lots with
> it, except after i convert selected jpgs copied into the workin' folder,
> and after conversion i'd like to rm them from php or by hand it'll give:
> rm *.jpg
> su: /bin/rm: Argument list too long
i get this all the time -- often when i'm doing stuff with
~/Mail/inbox/cur/* :-P
> so i have to enter mc, enter the directory and F8 them out.
>
> how could i do a right rm?
> (without generating a shell pattern to rm them in separated groups)
for i in *.jpg; do
rm $i;
done
</nori>
--
.~. nori @ sccs.swarthmore.edu
/V\ http://www.sccs.swarthmore.edu/~nori/jnl/
// \\ @ maenad.net
/( )\ www.maenad.net
^`~'^
*------------------------------------------------------------------------*
* http://www.aidsmarathon.com/participant.asp?runner=DCNO-3267&year=2003 *
*------------------------------------------------------------------------*
* Please help me raise money for AIDS as I train for *
* the Whitman-Walker AIDS Marathon! *
*------------------------------------------------------------------------*
Attachment:
pgp8rjUJBruMg.pgp
Description: PGP signature