Kaji opened this issue on Apr 25, 2008 · 17 posts
Kaji posted Sat, 26 April 2008 at 12:58 PM
Quote - Yep - gzip and gunzip are nestled in OSX. You can do it yourself, or be lazy and use this (name it "pack", or whatever you like):
#!/bin/sh<br></br><br></br> # cheesy little script. do whatever you like with it.<br></br><br></br> # usage: pack <file> [newname]<br></br><br></br> if [ "$2" != "" ];<br></br> then<br></br> gzip -c $1 > $2.gz<br></br> else<br></br> gzip $1<br></br> fi<br></br><br></br> exit
Took all of 30 second to whomp it out, so test it first. :)
/P
Hmm thanks :)