[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extracting directories from an ISO image, command line tool?

On Thu, Sep 10, 2015 at 08:06:36AM -0500, Richard Owlett wrote:
> Environment:
> Using dd I have copied physical [NO INTERNET AVAILABLE ;] Debian DVD's to
> /media/distributionA resulting in
> /media/distributionA/DVD1.iso
> /media/distributionA/DVD2.iso
> .
> .
> /media/distributionA/DVDn.iso
> Goal:
> Extract pool directory (and all of its sub-directories) resulting in
> /media/distributionA/poolA/
> /media/distributionA/poolA/contrib
> /media/distributionA/poolA/main
> What commands should I be looking at?

You can mount an iso using the "-o loop" option to "mount" (see the man
page under "THE LOOP DEVICE"). So, you can say, for example:

 mount -o loop /media/distributionA/DVD.iso /mnt
 cp /mnt/* /media/deistributionA/poolA/

'umount' won't need any special options to umount that device.


For more information, please reread.

Attachment: signature.asc
Description: Digital signature

Reply to: