Christian Neukirchen <chneukirchen_AT_gmail.com> writes:
> Connor Lane Smith <cls_AT_lubutu.com> writes:
>
>> On 28 November 2011 13:35, Christian Neukirchen <chneukirchen_AT_gmail.com> wrote:
>>> Any reason we don't replace lsx with this?
>>>
>>> find -L . -maxdepth 1 -type f -perm -111
>>
>> POSIX compatibility.
>
> All supported except for -maxdepth, but you can use:
>
> find -L . -type d \! -name . -prune -o -type f -perm -111 -print
You'll run into problems with command line length. If rewritten to a
shell loop, it'll be too slow.
This has all been tried before.
--
\ Troels
/\ Henriksen
Received on Mon Nov 28 2011 - 16:06:26 CET