Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
### 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 /tmp/test_export
cd /tmp/test_export
find ./ -type f | xargs sed -i 's/delt_cp_api/multi_contractport_api/g'
zip -r -x *
cd -
mv /tmp/test_export/
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