Skip to content

Instantly share code, notes, and snippets.

@skyhisi
Created August 6, 2019 12:15
Show Gist options
  • Select an option

  • Save skyhisi/b616fc59dc1bdab37f742097cfea68f0 to your computer and use it in GitHub Desktop.

Select an option

Save skyhisi/b616fc59dc1bdab37f742097cfea68f0 to your computer and use it in GitHub Desktop.

Revisions

  1. skyhisi created this gist Aug 6, 2019.
    6 changes: 6 additions & 0 deletions vbox-compact-all.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash

    for ID in $(vboxmanage list hdds | grep '^UUID:' | cut -c14-)
    do
    vboxmanage modifyhd $ID --compact
    done