Re: Extracting directories from an ISO image, command line tool?
Quoting Richard Owlett (firstname.lastname@example.org):
> Using dd I have copied physical [NO INTERNET AVAILABLE ;] Debian
> DVD's to
> /media/distributionA resulting in
> Extract pool directory (and all of its sub-directories) resulting in
> What commands should I be looking at?
I'm not sure what use you want to make of this archive, ie how
you want it managed, if at all. Personally, I would read
/usr/share/doc/apt-cacher-ng/apt-cacher-ng.pdf carefully to
see how to import iso images, and how it would deal with the
lack of connectivity to import the "dists" part of an archive
which is as necessary as the "pool" part for a smooth operation.
You may have your own way of dealimg with this.
apt-cacher-ng uses a browser interface with a simple user/password
like CUPS to protect write operations, but I don't know whether a text
browser is non-GUI enough to count as a command-line tool for you.
But leaving that suggestion aside, and taking your goal at face value,
I'm assuming that "distributionA" really means "dvd-set-a" and that
you want no mixing of sets even if you come by, say, 8.1 DVDs and
8.2 ones. What is the significance of "poolA"?
As root, I would probably just use the simplest tools available,
mount, cp -Rip and chmod. The -i will log duplicate filenames. If you
don't want it to wait, yes | cp -i... will log them but carry on
Were I to use mc as suggested, I would do this as a user. I'm not
willing to use such a tool as root. One of the downsides of mc
(there are lots of ups) is that it will only query a duplicate
when it occurs and when you've made a final decision (like nonE
or aLl) you get no further idea of how many files were affected.