Created
June 5, 2017 06:49
-
-
Save bitmess/151008b7ea586eaec01d4a639bebbdc2 to your computer and use it in GitHub Desktop.
find file size bigger than some size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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