macos find longest file in directory code example Example: mac find large folders du -sh * | grep -E "\dG"