bug#28082: bash: /bin/rm: Argument list too long

2017-08-14 Thread Paul Eggert
Jonny Grant wrote: do you know which kernel API has this limitation? All kernels have a limitation there to some extent, except perhaps the Hurd. Sorry, I don't know what the limits are.

bug#28082: bash: /bin/rm: Argument list too long

2017-08-14 Thread Eric Blake
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 r

bug#28079: find -type l -xtype and recursive symbolic links

2017-08-14 Thread Eric Blake
tag 28079 notabug thanks On 08/13/2017 06:06 AM, Poor Yorick wrote: > When a find expression includes both the -type and -xtype options and a > symbolic link that points to itself is encountered (a recursive symlink), > find fails with the error message, "Too many levels of symbolic links". Thank