qemu-img

Create and manipulate Quick Emulator Virtual HDD images. More information: https://qemu.readthedocs.io/en/latest/tools/qemu-img.html.

qemu-img create image_name.img gigabytesG

qemu-img info image_name.img

qemu-img resize image_name.img gigabytesG

qemu-img map image_name.img

qemu-img convert -f vmdk -O qcow2 path/to/file/foo.vmdk path/to/file/foo.qcow2