Created
August 10, 2012 23:11
-
-
Save gregmercer/3318891 to your computer and use it in GitHub Desktop.
Linux: find - find excluding some extensions
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
find /sites/default/files -type f -not -name "*.gif" -not -name "*.jpg" -not -name "*.css" -not -name "*.JPG" -not -name "*.jpeg" -not -name "*.js" -not -name "*.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment