- To: marghanita@xxxxxxxxxxxx, slug@xxxxxxxxxxx
- Subject: Re: [SLUG] How do I add a file (zip) to a package without compressing it
- From: Amit Dor-Shifer <amit.dor.shifer@xxxxxxxxx>
- Date: Thu, 28 Jul 2011 11:15:58 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kNBCpHifxSKUJEh8Tw8kMH7Tf4gVTOjSVpqxU/XvD2I=; b=FNW+QhFlVgd0UfgDhe0e8gd8bwyWg8hTSjROi5v3tC3t0FdnOZaOdCQaSxMkENyZlu /I+e9WkuiAJp9qxJJySfsQy50r5yWaeTS0LEuf0KG2YLrZ/TTYno+87bs3sYzpIPawRq bF1mYwcI4MPQNPnem39m4WBPHGPCl0fbahJKw=
Package? You mean, a .zip/.tar archive ?
amit@pavement:~/.../1.1.x-RELEASE/package$ zip zip.zip /usr/lib/libgcr.so.0
adding: usr/lib/libgcr.so.0 (deflated 64%)
amit@pavement:~/.../1.1.x-RELEASE/package$ zip -0 zip.zip /usr/lib/libgc.so.1
adding: usr/lib/libgc.so.1 (stored 0%)
amit@pavement:~/.../1.1.x-RELEASE/package$ unzip -v zip.zip
Archive: zip.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
293200 Defl:N 105072 64% 2010-11-10 06:25 1a7990d3 usr/lib/libgcr.so.0
142648 Stored 142648 0% 2010-09-20 04:06 470822db usr/lib/libgc.so.1
-------- ------- --- -------
435848 247720 43% 2 files
HTH,
Amit
2011/7/28 Marghanita da Cruz <marghanita@xxxxxxxxxxxx>:
> I couldn't figure out how to do it via the Archive feature on the
> Gnome/Ubuntu desktop.
>
> Can anyone recommend a package or the command to do this with zip, tar?
>
> Marghanita
> --
> Marghanita da Cruz
> http://ramin.com.au
> Tel: 0414-869202
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>