Thank you, this is exactly what I was looking for. Except the line > tar -u $foo -f packages.tar has to be changed into tar uf packages.tar
The script I was referring to is the one created by apt-get -qq -print-uris etc. I would have to add the above line to every downloaded package. I think your foreach loop is easier joerg John Galt wrote: > > On Wed, 30 May 2001, Joerg Johannes wrote: > > >Hi list > > > >Now that I can transfer my downloaded .debs in a .tar file, I wonder if > >I could create this .tar file saving disk space, e.g. in the following > >way > > > ><pseudo-code> > >create a tar file (touch packages.tar?) > > unnecessary, and in fact will break the script... > > >for *.deb in this directory > > foreach foo (./*.deb) > > > 1.) add it to the tar file > > tar -u $foo -f packages.tar > > > 2.) rm this .deb > > rm $foo > > >end > > end > > ></pseudo-code> > > > >Is this possible for (non-GNU)-tar? > > I think that I made it basic enough to be portable... > > >How would this look for the csh? > > That's what I was writing it for (actually, tcsh, but it should be > backwards compatible...) > > >Even better: Could this be included in the wget-script? > > ?! you have a script already that you want to add this stuff to? That'd > be easier by far, because you'd only have to select once and not select, > then select on *.deb. > > >thanks > > > >joerg > > > -- Did you know that if you play a Windows 2000 cd backwards, you will hear the voice of Satan? That's nothing! If you play it forward, it'll install Windows 2000.