Last active
December 23, 2015 17:39
-
-
Save demoth/6670672 to your computer and use it in GitHub Desktop.
groovy script to look for all i18n files in all jar archives in some directory
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
import java.util.zip.ZipFile | |
import static groovy.io.FileType.* | |
new File('/home/daniil/bundles').eachFileMatch(FILES, ~/.*.jar/ , { f -> | |
new ZipFile(f).entries().each{ | |
if (it.toString().matches('.*messages_.*properties')) | |
println ' ' + f + '!/' + it | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment