Skip to content

Instantly share code, notes, and snippets.

@bitmess
Created June 5, 2017 06:49
Show Gist options
  • Save bitmess/151008b7ea586eaec01d4a639bebbdc2 to your computer and use it in GitHub Desktop.
Save bitmess/151008b7ea586eaec01d4a639bebbdc2 to your computer and use it in GitHub Desktop.
find file size bigger than some size
#!/bin/sh
find . \( -path '*/Library' -o -path '*/Pods' \) -a -prune -o \( -name '*.jpg' -o -name '*.png' \) -size +1M -print > ~/Desktop/biggerFile.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment