Created
May 20, 2014 13:33
-
-
Save lotsofcode/479e6d5cea89ccf348b2 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
| #!/bin/bash | |
| rm -fr *.ova | |
| # extract the sfx files into the respsective zip files | |
| for SFX in *.sfx | |
| do | |
| echo "Extracting SFX: $SFX"; | |
| ./$SFX | |
| done | |
| # extract the ova's | |
| for OVAZIP in *.ova.zip | |
| do | |
| echo "Extracting ZIP: $OVAZIP"; | |
| unzip "$OVAZIP" | |
| done | |
| # Import the OVA | |
| for OVA in *.ova | |
| do | |
| echo "Importing: $OVA"; | |
| VBoxManage import "$OVA"; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment