浏览一个iso库而不安装每个iso


2

我有一个旧媒体和软件CD-ROM的ISO映像库。我不确定这是否是存储传统媒体和软件的最佳方式......如果您有其他解决方案,请说出来。但我的问题是,是否有办法浏览其中一个iso中的某个文件而无需安装它们中的每一个? - 像tar这样的东西,它列出了tar包的内容,而不会破坏整个tar包。



2
@Ƭᴇcʜιᴇ007与OP提到的不完全相同 tar -t 这不是Windows命令。我的猜测是OP正在使用Linux,但他需要澄清这一点。
Lekensteyn

啊缺少操作系统标签/提及可能让我受益匪浅。
Ƭᴇcʜιᴇ007

对于缺乏操作系统感到抱歉...但是我正在寻找的是linux类型。我目前使用ubuntu和MAC(终端 - 即freebsd linux)...
Fawzi Masri

Answers:


5

7z 来自p7zip的程序能够列出CD映像的内容:

$ 7z l ubuntu-14.04-server-amd64.iso

7-Zip [64] 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Listing archive: ubuntu-14.04-server-amd64.iso

--
Path = ubuntu-14.04-server-amd64.iso
Type = Iso
Created = 2014-04-16 23:12:51
Modified = 2014-04-16 23:12:51

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2014-04-16 23:11:55 D....                            .disk
2014-04-16 23:11:55 .....            0            0  .disk/base_installable
2014-04-16 23:11:55 .....           15           15  .disk/cd_type
2014-04-16 23:11:55 .....           66           66  .disk/info
2014-04-16 23:12:44 D....                            EFI
2014-04-16 23:12:44 D....                            EFI/BOOT
2014-04-16 23:12:44 .....      1355736      1355736  EFI/BOOT/BOOTx64.EFI
2014-04-16 23:12:44 .....       993144       993144  EFI/BOOT/grubx64.efi
2014-04-16 23:11:55 .....          236          236  README.diskdefines
2014-04-16 23:12:44 D....                            boot
2014-04-16 23:12:44 D....                            boot/grub
...
2014-03-23 17:09:32 .....        79582        79582  pool/main/z/zope.interface/python-zope.interface_4.0.5-1ubuntu4_amd64.deb
2014-04-16 23:11:55 D....                            preseed
2013-10-18 16:56:44 .....          433          433  preseed/cli.seed
2013-10-18 16:56:44 .....          659          659  preseed/cloud.seed
2013-10-18 16:56:44 .....          901          901  preseed/ubuntu-server-minimal.seed
2013-10-18 16:56:44 .....          931          931  preseed/ubuntu-server-minimalvm.seed
2013-10-18 16:56:44 .....          977          977  preseed/ubuntu-server.seed
                    .....         2048         2048  [BOOT]/Bootable_NoEmulation.img
------------------- ----- ------------ ------------  ------------------------
                             590842085    590842085  1932 files, 882 folders

另一个列出内容的程序是 isoinfo 来自cdrkit:

$ isoinfo -l -i ubuntu-14.04-server-amd64.iso

Directory listing of /
d---------   0    0    0            2048 Apr 16 2014 [     20 02]  . 
d---------   0    0    0            2048 Apr 16 2014 [     20 02]  .. 
d---------   0    0    0            2048 Apr 16 2014 [     22 02]  .DISK 
d---------   0    0    0            2048 Apr 16 2014 [     23 02]  BOOT 
d---------   0    0    0            2048 Apr 16 2014 [     41 02]  DISTS 
d---------   0    0    0            2048 Apr 16 2014 [     55 02]  DOC 
d---------   0    0    0            2048 Apr 16 2014 [     64 02]  EFI 
d---------   0    0    0            2048 Apr 16 2014 [     66 02]  INSTALL 
d---------   0    0    0           18432 Apr 16 2014 [     73 02]  ISOLINUX 
----------   0    0    0          162102 Apr 16 2014 [   2349 00]  MD5SUM.TXT;1 
d---------   0    0    0            2048 Apr 16 2014 [     82 02]  PICS 
d---------   0    0    0            2048 Apr 16 2014 [     83 02]  POOL 
d---------   0    0    0            2048 Apr 16 2014 [    976 02]  PRESEED 
----------   0    0    0             236 Apr 16 2014 [   1923 00]  README.DISKDEFINES;1 
----------   0    0    0               0 Apr 16 2014 [   1920 00]  UBUNTU.;1 

Directory listing of /.DISK/
d---------   0    0    0            2048 Apr 16 2014 [     22 02]  .
...
----------   0    0    0          152976 Apr 15 2014 [   8789 00]  VESAMENU.C32;1 

Directory listing of /INSTALL/NETBOOT/UBUNTU_INSTALLER/AMD64/PXELINUX.CFG/
d---------   0    0    0            2048 Apr 15 2014 [     72 02]  . 
d---------   0    0    0            2048 Apr 15 2014 [     69 02]  .. 
----------   0    0    0               0 Apr 15 2014 [   1920 00]  DEFAULT.;1 

谢谢你...看起来我正在寻找...让我测试出来
Fawzi Masri

它确实做了我在我的问题中所要求的......所以我标记为答案......再次感谢。
Fawzi Masri
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.