Created
January 15, 2015 20:26
-
-
Save aidvu/1a1a424b0c4bbad5eeb1 to your computer and use it in GitHub Desktop.
SugarCRM Language Files Extractor
This file contains hidden or 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/bash | |
echo "This script copies SugarCRM translation files for given language code from current directory to destination directory" | |
echo "" | |
echo "Enter language code:" | |
read language | |
echo "Enter destination directory:" | |
read destination_dir | |
rsync -uavm --include="*/" --include="*$language*" --exclude="*" . $destination_dir/$language |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment