Results 1 to 2 of 2

Thread: Extract multiple .deb files

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    78

    Extract multiple .deb files

    I'm writing a script that will ask the user for a packagename and :
    #apt-get install -b <packagename>
    (inside a chrooted environment)
    This way, it will download all the dependencies as well.

    After this, I move the files to a certain directory and I want to extract them from there with :
    #dpkg -x <deb-file> /directory

    My problem here is, that I can't select '*.deb' as input for this, as dpkg -x can only handle 1 file at a time.
    As I don't know the .deb-file-names in the directory, I cannot do this one by one.
    Hopefully, somebody here has a solution for this ?

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Location
    The Netherlands
    Posts
    78
    Sorry for the post, but I allready figured this one out...
    In the script, I just put in :
    for DEB in ls *.deb; do dpkg -x $DEB /dir; done
    (in case anybody needs this )

Similar Threads

  1. Playing multiple files with xine...question
    By turbine in forum General Support
    Replies: 1
    Last Post: 06-14-2005, 08:25 AM
  2. Replies: 5
    Last Post: 01-21-2005, 12:50 AM
  3. How to extract .sti files in knoppix
    By borru in forum General Support
    Replies: 0
    Last Post: 06-16-2004, 11:53 AM
  4. Extract boot image from CD
    By BigMack in forum The Lounge
    Replies: 3
    Last Post: 04-04-2003, 04:20 PM
  5. Extract initrd part from knx-hdinstall
    By mordor in forum Ideas
    Replies: 1
    Last Post: 03-28-2003, 09:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$157.99



Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$268.99



80GB Hard Drive IBM Thinkpad R32 R40 R50 R51 R52 T30 T40 T41 T42 T43 IDE Laptop picture

80GB Hard Drive IBM Thinkpad R32 R40 R50 R51 R52 T30 T40 T41 T42 T43 IDE Laptop

$22.99



Western Digital 8TB WD Blue PC Desktop Hard Drive - WD80EAZZ picture

Western Digital 8TB WD Blue PC Desktop Hard Drive - WD80EAZZ

$129.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$69.99