Last active
August 29, 2015 13:57
-
-
Save sherbang/9606483 to your computer and use it in GitHub Desktop.
Save all running Virtualbox VMs thanks to @lmbrt
This file contains 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/sh | |
# Save all running Virtualbox VMs | |
# Credit: http://lmbrt.com/a/11 | |
vboxmanage list runningvms | sed s/[a-zA-Z[:space:]0-9\"]*// | xargs -i vboxmanage controlvm {} savestate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment