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
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..
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.)
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
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
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
6 matches
Mail list logo