Re: Argument list too long

2003-12-23 Thread Derrick 'dman' Hudson
| > | 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

Re: Argument list too long

2003-12-22 Thread Vincent Lefevre
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

Re: Argument list too long

2003-12-20 Thread Karsten M. Self
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

Re: Argument list too long

2003-12-19 Thread David Z Maze
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

Re: Argument list too long

2003-12-19 Thread Derrick 'dman' Hudson
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 '*'

Re: Argument list too long

2003-12-19 Thread Nori Heikkinen
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

Re: Argument list too long

2003-12-19 Thread Kevin Mark
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

Argument list too long

2003-12-19 Thread Dobai-Pataky Balint
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