Argument list too long - help

Chris Jones christopher.rob.jones at cern.ch
Wed Jun 10 19:12:22 UTC 2009


>>
>>> cd ~/Webcam_Pictures
>>> ls *.png | xargs rm
>>
>> is one.
>
> The ls *.png will not work.  Its argument list is also too long. You
> have to use "find" instead to get the list of arguments to pipe to
> xargs.


Yeah, I just saw your post and realized my mistake.... You beat me to  
correcting it ;)

Chris




More information about the ubuntu-users mailing list