sharkdp / fd

A simple, fast and user-friendly alternative to 'find'
Apache License 2.0
34.29k stars 816 forks source link

Search files with specific permission #1637

Closed GallaisPoutine closed 2 weeks ago

GallaisPoutine commented 3 weeks ago

Hi,

Is there any way to add the possibility to search for file by filtering permissions ? I was search for all the files with 744 permission (for instance) and I found out there was no way to use this kind of search. I volunteer to implement this feature if this acknowledged.

Regards, GallaisPoutine

tavianator commented 3 weeks ago

I suspect this falls outside of the 80/20 rule for fd (meaning, we want to support the most useful functionality from find while remaining considerably simpler). You can use find -perm 744.

This was discussed before in https://github.com/sharkdp/fd/issues/523

GallaisPoutine commented 2 weeks ago

@tavianator thanks for redirecting to the original feature request. I will comment there if needed.