3

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

Jibrilat
  • 161

1 Answers1

5

Convert isn't quite what it does. You can compress the image into a tar.gz file with:

tar -cvzf linuximage.tar.gz linuximage

You can uncompress/unzip with:

tar -xvzf linuximage.tar.gz

Just replace linuximage with the actual filename or folder.

ProdIssue
  • 405