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 )
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 ?
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 )
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" Enterprise Hard Drive
$268.99
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
$129.99
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" Internal Hard Drive
$29.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
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
$174.99
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$69.99