Created
October 12, 2013 19:41
-
-
Save grappler/6954035 to your computer and use it in GitHub Desktop.
Bash file to create .mo files without keeping the .po files.
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 | |
for file in `/usr/bin/find . -name '*.po'` ; do /usr/bin/msgfmt -o ${file/.po/.mo} $file && /usr/bin/rm $file ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great, I did not have time to test the first solution.