Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Currently I'm mounting an ISO to a (readonly) directory (using mount -o loop command) and then copying the contents to another normal directory. This takes lot of time as the ISO is large. Is this the only way to do so, or there are some alternatives?

share|improve this question

6 Answers 6

you can do this by 7zip software:

sudo apt-get install p7zip-full

7z x iso_file.iso

share|improve this answer
Worked for me with a Windows 8.1 ISO, for which (in Gnome) neither Nautilus nor Archive Manager were able to show the contents. –  krlmlr Oct 24 '14 at 9:20

Mounting the image, or using 7zip as already answered are probably the only two solutions. Try them and check if one is faster than the other.

If you really need something more fast, you should probably look in a different direction: instead of changing software, try to use different disks: one for the source image and one for the target directory. Or, try to avoid copying these files and just keep them in the iso image.

share|improve this answer

uniso is a Python script that leverages isoinfo to extract the contents from an ISO stream. It requires pythoric. It's a bit hacky, but it gets the job done.

I'm the author of uniso and pythoric.

share|improve this answer

If you want to extract only some files instead of the whole content, try mc aka MidnightCommander in the shell. It's also neat to look into .zip/tar.gz/bz2 with.

share|improve this answer

Try genisoimage. It has all you need to handle ISOs. After you install it you'll also be able to use mc to view ISO content.

share|improve this answer

bsdtar (part of the portable libarchive [1]) can parse lots of file formats [2]. This is handy for those whose fingers are very familiar with tar's options (bsdtar xfp foo.iso to extract, bsdtar tf yoyoma.rpm to just inspect the contents).

There's also a bsdcpio for those who are familiar with cpio's usage.

Many linux distros now include bsdtar, bsdcpio and libarchive (often as separate packages although it all comes from the libarchive code).

[1] http://www.libarchive.org/ [2] https://github.com/libarchive/libarchive/wiki/LibarchiveFormats

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.