Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!sco!md From: md@sco.COM (Michael Davidson) Newsgroups: comp.unix.sysv386 Subject: Re: undocumented compress option to SCO tar Message-ID: <8609@scolex.sco.COM> Date: 7 Nov 90 20:24:54 GMT References: <1990Nov6.205259.18525@cs.rochester.edu> Sender: news@sco.COM Lines: 16 lubkin@cs.rochester.edu (Saul Lubkin) writes: >There is an undocumented option to SCO Unix 3.2 v2 tar, that compresses >files (using compress) when creating an archive, and that uncompresses >them when restoring with tar. Not quite correct - there is an option which will set a flag in the tar header to indicate that a file should be uncompressed automatically when tar extracts it. There is no support in tar for automatically compressing files as they are being archived, using the "C" option when creating a tar archive just sets a flag in the header to indicate that tar should attempt to uncompress the files when they are extracted. The "X" option will extract files but suppresses any attempt to uncompress them.