Convert IMG to TGZ

Turn IMG archives into TGZ. A disk with one file system gives its files with their paths, times and permissions.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop IMG files on the dialor turn it to pick what to do

The files from a disk, in one archive.A disk image with one file system becomes a TGZ with its files, paths, times and permissions.

  1. What you get

    One TGZ file. Inside, the files are stored in a tar archive that is compressed with gzip.

    If the disk holds a single file system, you get its files with their paths, times and permissions. The folder layout stays as it was on the disk.

  2. Disks with several partitions

    A disk with several partitions does not give its files directly. Each partition is stored in the archive as a raw image file instead.

    This applies to images made by tools such as dd or Raspberry Pi Imager when they contain more than one partition. Check how many partitions your disk has to know which result to expect.

IMG and TGZ.What each format is.

The formats

From · IMG

Raw Disk Image

A disk copied byte for byte, as dd, Raspberry Pi Imager and USB stick tools make it.

Extensions
.img
MIME type
application/x-raw-disk-image
Kind
Archives
To · TGZ

Gzipped Tar Archive

Gzip-compressed tar archives, the way source code ships.

Extensions
.tgz
MIME type
application/gzip
Kind
Archives

In your code.The same IMG to TGZ conversion through the API, for your app or your agent.

terminal
$ cv convert archive.img archive.tgz
$ cv convert archive.img archive.tgz

Questions.What people ask about IMG to TGZ.

01OF 04

Yes, when the disk has one file system. The files come with their paths, times and permissions.

Each partition is given as a raw image file instead of as separate files. The archive holds one raw image per partition.

One file. It is a tar archive compressed with gzip, saved as a TGZ.

See every IMG conversion for this format as a source, or every TGZ conversion for TGZ as a target.

More conversions.Other ways in and out of IMG and TGZ.