find-large-file.sh 123 B

1234
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. find "$1" -mount -type f -size +50M -exec du -h "{}" \; | sort -n