Archive for September, 2014

Best compression using tar and 7z

By technese - Last updated: Sunday, September 7, 2014

Compress using tar and 7z $ tar cf – <source folder/file> | 7z a -si <Destination archive>.tar.7z $ 7z x -so yourfile.tar.7z | tar xf – -C target_dir Reference:1. http://askubuntu.com/questions/300097/how-do-i-create-tar-7z-file-from-the-command-line 2. http://askubuntu.com/questions/341628/how-to-extract-tar-7z-files-from-command-line

Converting OVA to QCOW2 for use with QEMU/KVM

By technese - Last updated: Sunday, September 7, 2014

Extract the .ova file $ tar -xvf file.ova Convert the .vmdk to .qcow2 $ qemu-img convert -O qcow2 file.vmdk file.qcow2 Reference: http://edoceo.com/notabene/ova-to-vmdk-to-qcow2