scripts

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

commit f98054173ae1bbe9c3a68cb78d65a7f29348b142
parent e25f326d271519b2dfbc51e1b56383c0655094bb
Author: sin <sin@2f30.org>
Date:   Thu,  4 Jul 2013 15:15:50 +0100

Add qemu2hdd

Diffstat:
Aqemu2hdd | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/qemu2hdd b/qemu2hdd @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ ! $# -eq 2 ]; then + echo "usage: $(basename $0) <qcow2-img> <raw-img>" 1>&2 + exit 1 +fi + +qemu-img convert -f qcow2 -O raw "$1" "$2"