User Name
Password
AppleNova Forums » Third-Party Products »

gZip Tarball for mac?


Register Members List Calendar Search FAQ Posting Guidelines
gZip Tarball for mac?
Thread Tools
nassau
Member
 
Join Date: Jul 2004
 
2006-07-11, 18:13

Hi, I'm supposed to deliver something as a gZip Tarball, and I'm on OSX 10.3. Can I use "Create Archive", which is built into Finder? Or do I have to download something?

Anyone?
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2006-07-11, 18:16

In Terminal:

Code:
tar czf nameOfYourTarball.tar.gz nameOfYourOriginalFolder
So, type:

Code:
tar czf
, then type in what you want to name it, and then drag the folder onto the line.
  quote
nassau
Member
 
Join Date: Jul 2004
 
2006-07-11, 18:24

ok thanks. and this would be different from using "Create Archive"?
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2006-07-11, 18:28

Finder's archive creation support is for .zip, which is a different format than you asked for.
  quote
nassau
Member
 
Join Date: Jul 2004
 
2006-07-12, 01:36

ok, thanks!
  quote
TMT
Member
 
Join Date: Oct 2005
Location: lost in space
 
2006-07-12, 01:45

I tried it, but it doesnt work with any folder, it just says:

Code:
tar: Removing leading `/' from member names
  quote
nassau
Member
 
Join Date: Jul 2004
 
2006-07-12, 02:41

hmm, i haven't tried it yet. how do i unzip it to test the result?
also, has anyone tried CocoaZip http://www.macupdate.com/info.php/id/16149 ?
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2006-07-12, 02:43

Quote:
Originally Posted by TMT
I tried it, but it doesnt work with any folder, it just says:

Code:
tar: Removing leading `/' from member names
What does your line look like?
  quote
staph
Microbial member
 
Join Date: May 2004
Send a message via AIM to staph  
2006-07-12, 02:45

Quote:
Originally Posted by TMT
I tried it, but it doesnt work with any folder, it just says:

Code:
tar: Removing leading `/' from member names
That's expected behaviour. Does it create the tar.gzip file?
  quote
nassau
Member
 
Join Date: Jul 2004
 
2006-07-12, 02:54

terminal command works like a charm! thanks!



btw, the resulting archive lands up top in the user folder. i had to look for it..

Last edited by nassau : 2006-07-12 at 03:02.
  quote
staph
Microbial member
 
Join Date: May 2004
Send a message via AIM to staph  
2006-07-12, 03:55

if you just typed in the filename as blah.tar.gz, it'll be in the folder you were in when you typed the command.

Type this in the Terminal to open the folder in the Finder:

Code:
open .
-S
  quote
staph
Microbial member
 
Join Date: May 2004
Send a message via AIM to staph  
2006-07-12, 03:58

Quote:
Originally Posted by nassau
hmm, i haven't tried it yet. how do i unzip it to test the result?
also, has anyone tried CocoaZip http://www.macupdate.com/info.php/id/16149 ?
Either double click it in 10.3+, or do the following in the terminal:

Code:
tar xzf blah.tar.gz
Where you replace blah.tar.gz with the name of the file (and if it's not in the folder you're currently in, the path to it as well).
  quote
nassau
Member
 
Join Date: Jul 2004
 
2006-07-12, 03:59

thanks
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools

« Previous Thread | Next Thread »

All times are GMT -5. The time now is 07:51.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova