Article View: news.software.readers
Article #155069Re: [OT] Pack under Cygwin or Windows, unpack under Windows?
From: Frank Slootweg
Date: Wed, 01 Sep 2004 13:49
Date: Wed, 01 Sep 2004 13:49
33 lines
2418 bytes
2418 bytes
[Sorry for this 'late' response.]
Rudy Taraschi <rudy@this.address.is.invalid> wrote:
[deleted]
> Here's a couple of "standard" Cygwin ways of packing (tar, gzip,
> and zip are standard Cygwin packages)
>
> Option 1: This command creates a tar file and then GZIPs it all in
> one command. Winzip handles this file just fine; I don't know what
> the native XP unpacker does.
>
> tar cvzf archivename.tar.gz list_of_files_or_directories_to_pack
>
> Option 2: use the 'zip' command to create a ZIP file
>
> zip archivename.zip list_of_files_or_directories_to_pack
[deleted]
I opted for Option 2 and installed Cygwin's zip package. It took a
little while to get re-aquainted with it (the last time I zip-ped stuff
was in my MS-DOS 3.3 days, probably the late 80's, early 90's), but I
got it to work. The only drawback is that zip apparently can not store
absolute paths ("paths stored in zip archives are always relative"),
which means I have to tell the user to move stuff in the right place (or
make a .bat file to do it for hir).
> Note: If you're going to be packing and unpacking text files, you
> may need to consider the CR/LF differences and preprocess your text
> files with "unix2dos".
Thanks for the reminder. I had that covered, but it is easy to forget.
[deleted]
Technical Details
Message-ID:
<4135d35e$0$8000$ee9da40f@news.wanadoo.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mailReferences:
<412f290f$0$42421$18b6e80@news.wanadoo.nl> <slrnciv7vu.1a0.rudy@142.39.20.3>Show Full Headers
Complete Article Headers
Message-ID: <4135d35e$0$8000$ee9da40f@news.wanadoo.nl>
Subject: Re: [OT] Pack under Cygwin or Windows, unpack under Windows?
Date: Wed, 01 Sep 2004 13:49:18 +0000
From: Frank Slootweg <this@ddress.is.invalid>
References: <412f290f$0$42421$18b6e80@news.wanadoo.nl> <slrnciv7vu.1a0.rudy@142.39.20.3>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!news2.euro.net!postnews1.euro.net!news.wanadoo.nl!not-for-mail
Newsgroups: news.software.readers
Organization: NOYB
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX)
(CYGWIN_NT-5.1/1.5.10(0.116/4/2) (i686)) Hamster/2.0.2.2
Lines: 33
NNTP-Posting-Date: 01 Sep 2004 13:49:18 GMT
NNTP-Posting-Host: c5147453f.cable.wanadoo.nl
X-Trace: 1094046558 snatched.euronet.nl 8000 81.71.69.63:64237
X-Complaints-To: abuse@wanadoo.nl