Created
February 12, 2015 14:19
-
-
Save mahnve/927fa44a4b22f34d3bf0 to your computer and use it in GitHub Desktop.
Find unused js libraries
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
for file in $(find . -iname "*.js" | sed 's/\.\///g' ); do grep -q $file ../*/*.html; if [ $? -ne 0 ]; then echo $file; fi; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment