Re: Using tar saving Disk-space [was: apt-get offline]

2001-06-07 Thread Joerg Johannes
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 yo

Re: Using tar saving Disk-space [was: apt-get offline]

2001-05-30 Thread John Galt
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 > > >create a tar file (touch packages.tar?) unnecessary, and in fact will break the script..

Re: Using tar saving Disk-space [was: apt-get offline]

2001-05-30 Thread David Z. Maze
Joerg Johannes <[EMAIL PROTECTED]> writes: JJ> Now that I can transfer my downloaded .debs in a .tar file, I wonder if JJ> I could create this .tar file saving disk space, e.g. in the following JJ> way JJ> JJ> JJ> create a tar file (touch packages.tar?) JJ> for *.deb in this directory JJ>1.)

Re: Using tar saving Disk-space [was: apt-get offline]

2001-05-30 Thread Matthew Gibbins
And yo was Joerg Johannes heard to yodel: > > Well, I know how to use tar in general. Zipping the .debs is not > necessary because they are already zipped. What I meant is: The .tar > file takes the same amount of space as the .debs themselves. So after > having tarred them , I need twice the spac

Re: Using tar saving Disk-space [was: apt-get offline]

2001-05-30 Thread Joerg Johannes
Well, I know how to use tar in general. Zipping the .debs is not necessary because they are already zipped. What I meant is: The .tar file takes the same amount of space as the .debs themselves. So after having tarred them , I need twice the space as before. So I want to delete each .deb after hav

Re: Using tar saving Disk-space [was: apt-get offline]

2001-05-30 Thread Bart Martens
You can compress all .deb files into one zipped tar file with only one command. See the manual page of tar. You don't need to write code with a "for"-loop. I think it's tar czf packages.tar.gz debdir with debdir the directory containing all your .deb files, and packages.tar.gz the target zipped ta