Hush script to recurse through file system?
Harald Becker
ralda at gmx.de
Sun Jun 19 23:36:34 UTC 2011
Hi Gilles!
>> find / -xdev -type f -print0 | ...
May be you can get further optimization and select only files wit a set
executable bit (either x bit of user, group or other is set):
find / -xdev -type f -perm +111 -print0 | ...
That way you leave out text files like configurations/sources and don't
invoke readelf on those files (but may miss binaries/libraries not
marked as executable).
FYI: This uses the deprecated "-perm +NNN" form as (at least older
versions of) Busybox doesn't support "-perm /NNN".
--
Harald
More information about the busybox
mailing list