Created
July 25, 2017 18:53
-
-
Save kishorevaishnav/60f2cffdfa1927d8fa3b1acb12d5b14f to your computer and use it in GitHub Desktop.
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
### The below commands are used to change all the Datasources from one to another for JasperSoft Server configuations during export import process. | |
rm -rf /tmp/test_export | |
mkdir /tmp/test_export | |
cp export.zip /tmp/test_export | |
cd /tmp/test_export | |
unzip export.zip | |
find ./ -type f | xargs sed -i 's/delt_cp_api/multi_contractport_api/g' | |
zip -r -x export.zip new_export.zip * | |
cd - | |
mv /tmp/test_export/new_export.zip | |
rm -rf /tmp/test_export | |
echo "DONE..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment