| > | 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
| >
| > The problem is that the shell has a hard limi
7; 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
>
> The problem is that the shell has a hard limit on the size (in bytes)
> of commands.
No, it's a kernel limit, not a shell
on Fri, Dec 19, 2003 at 10:53:35AM -0500, Derrick 'dman' Hudson ([EMAIL PROTECTED])
wrote:
> Another option, not yet given, is :
>
> find . -name \*.jpg | xargs rm
>
>
> Read the manpages for find and xargs. find lists all
> files/directories matching the given criteria on stdout. xargs read
give:
> rm *.jpg
> su: /bin/rm: Argument list too long
>
> 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)
You could use find/xargs; xargs' purpose in lif
it'll give:
| rm *.jpg
| su: /bin/rm: Argument list too long
The problem is that the shell has a hard limit on the size (in bytes)
of commands. This limit is quite large (many times larger than
cmd.exe on windows!) and you won't often run into it, except for
example when using '*'
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
to rm them from php or by hand it'll give:
> rm *.jpg
> su: /bin/rm: Argument list too long
>
> 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)
>
Hi Doba
hi,
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
so i h
8 matches
Mail list logo