指定したディレクトリの中のバイナリファイルをすべて strip する。
find /path/to/dir -type f -print0 | sudo xargs -0 sh -c '
for f in "$@"; do
if file -bi "$f" | grep -E "^application/(x-executable|x-sharedlib|x-archive)" >/dev/null; then
echo "$f"
strip -p "$f"
fi
done
' --