Journal The Great Wakka's Journal: Geocities and Tarballs 5
By a suggestion, I decided to try Geocities to host my programs. It just won't let me upload my
gzip: stdin: decompression OK, trailing garbage ignored
tar: Child returned status 2
tar: Error exit delayed from previous errors
How to fix this? A good tutorial on
UPDATE Jan 21 11:26 EST: I've figured it out. Plus, get the tarballs at Icarus Studios, see our old sites , this one had a modification done to it by accident, and the person charged with keeping the password forgot it, and the very oldest site .
Tarred (Score:2)
tar -cf something.tar *
gzip something.tar
In place of gzip, you can use bzip2, which does a much better job on large files. The Project GNU folks, unable to resist an obvious tweak, added options to call the compression program all at once:
tar -czf something.tar.gz *
You can use -j instead of -z to use bzip2 instead of gzip. And you can break out the options if you feel like it:
tar -c -z -f something.tar.gz *
Finally, you can use the verbose forms, though they really only make sense in shell scripts:
tar --create --gzip --file=something.tar.gz *
Re:Tarred (Score:2)
This works exactly right...
Re:Tarred (Score:1)
tar -zcf directory.tar.gz directory/ or
tar -jcf directory.tar.bz2 directory/
Re:Tarred (Score:2)
Re:Tarred (Score:2)