On 08/13/2017 11:27 PM, Pádraig Brady wrote:
>> $rm jonny*.*
>> bash: /bin/rm: Argument list too long
> 
> The standard mechanism to scale this is to use xargs,
> something like:
> 
>   find . -maxdepth 1 -name 'jonny*.*' -print0 | xargs -r0 rm
> 
> In any case this is not a limitation imposed by rm.

In fact, we have a FAQ about it:

https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Argument-list-too-long

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to