Last active
November 3, 2018 16:42
-
-
Save JitendraZaa/b436642fd3180f084da98e62e4f87734 to your computer and use it in GitHub Desktop.
SFDX Retrieve and Unzip folder
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
echo "Retrieve Metadata from Sandbox" | |
echo "Command - sfdx force:mdapi:retrieve -r metadata -u jit11 -k metadata/package.xml" | |
sfdx force:mdapi:retrieve -r metadata -u jit11 -k metadata/package.xml | |
echo "Unzip results" | |
echo "Command - unzip -o metadata/unpackaged.zip -d metadata" | |
unzip -o metadata/unpackaged.zip -d metadata | |
rm metadata/unpackaged.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment