Hi I have an img of a custom linux distro and I would like to convert it to a tar.gz file. (I am using Mac or Linux OS)
What is the most straight forward way to do it?
Thank you
11 Answer
Convert isn't quite what it does. You can compress the image into a tar.gz file with:
tar -cvzf linuximage.tar.gz linuximageYou can uncompress/unzip with:
tar -xvzf linuximage.tar.gzJust replace linuximage with the actual filename or folder.