Welcome, Guest. Please login or register.

Author Topic: tarball or gzip doing on unix  (Read 2228 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Failure

  • Lifetime Member
  • Sr. Member
  • ****
  • Join Date: Jun 2004
  • Posts: 332
    • Show all replies
    • http://awhitlock.net/
Re: tarball or gzip doing on unix
« on: July 21, 2004, 02:36:54 PM »
Quote

Jope wrote:
Sparc something would indicate solaris, so the z flag might not work.


You are correct!  Without the GNU version of tar being used, the -z or -j flag for compression won't work.  However, instead of tarring and then gzipping, do it all at once with:

tar -cf - directory_to_be_tarred | gzip -9 > whatever.tar.gz

For transit on a DOS floppy (like say, to an Amiga) use .tgz instead of .tar.gz
--
Failure
You can\'t spell evil without "vi"
AMIX Wiki | AmixBP