scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

qemu2hdd (147B)


      1 #!/bin/sh
      2 
      3 if [ ! $# -eq 2 ]; then
      4 	echo "usage: $(basename $0) <qcow2-img> <raw-img>" 1>&2
      5 	exit 1
      6 fi
      7 
      8 qemu-img convert -f qcow2 -O raw "$1" "$2"