[Cialug] create .tgz on Win32

Bryan Baker cialug@cialug.org
Fri, 21 Jan 2005 15:49:27 -0600


--Apple-Mail-5--812051310
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Actually, just checked it here on some random files (OSX) and what you 
want is:

tar cvzf test.tgz C:\test\*.*

remembering that the first argument after the f needs to be the name of 
the file to create.
why complicate it w/ piping?

On Jan 21, 2005, at 3:43 PM, Bryan Baker wrote:

> doesn't the win32 version have the "z" option?
> I usually just use tar to do the compression itself on *nix.
>
> from tar's MAN:
>
> -z
>      --gzip
>      --ungzip
>      --gunzip                Filter the archive through gzip(1).
>      --use-compress-program program
>                              Filter the archive through program (which 
> must
>                              accept -d to mean ``decompress'').
> so I'd try:
>
> tar -cvzf - c:\test\*.* test.tgz
>
--
Bryan Baker
Technology Advocate
Iowa Legal Aid
Suite 230
1111 9th Street
Des Moines, Ia 50314-2527

(515) 243-2151 (x1635)

http://www.iowalegalaid.org
bbaker@iowalaw.org


--Apple-Mail-5--812051310
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGFDCCAs0w
ggI2oAMCAQICAwxWgjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDQwNTE4MjIxNTAxWhcNMDUwNTE4MjIxNTAxWjBCMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBrYV9rbGlja0BtYWMuY29t
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuyTYo4Qva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