[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28082: bash: /bin/rm: Argument list too long
From: |
Eric Blake |
Subject: |
bug#28082: bash: /bin/rm: Argument list too long |
Date: |
Mon, 14 Aug 2017 10:59:23 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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
signature.asc
Description: OpenPGP digital signature
- bug#28082: bash: /bin/rm: Argument list too long, Jonny Grant, 2017/08/13
- bug#28082: bash: /bin/rm: Argument list too long, Paul Eggert, 2017/08/13
- Message not available
- bug#28082: bash: /bin/rm: Argument list too long, Paul Eggert, 2017/08/14
- bug#28082: bash: /bin/rm: Argument list too long, Jonny Grant, 2017/08/15
- bug#28082: bash: /bin/rm: Argument list too long, Dmitry V. Levin, 2017/08/15
- bug#28082: bash: /bin/rm: Argument list too long, L A Walsh, 2017/08/26
- bug#28082: bash: /bin/rm: Argument list too long, Jonny Grant, 2017/08/26
bug#28082: bash: /bin/rm: Argument list too long, Pádraig Brady, 2017/08/14
- bug#28082: bash: /bin/rm: Argument list too long,
Eric Blake <=