I did the following -
bash-3.2$ uname -a
SunOS 5.10 Generic_Virtual sun4v sparc sun4v
bash-3.2$ tar -xvzf splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
What can be done?
The following speaks about the `tar -z` option in Solaris - [Extract and Uncompress tar.Z file, One Command (Solaris)][1]
[1]: http://www.dreamincode.net/forums/topic/274562-extract-and-uncompress-tarz-file-one-command-solaris/
It suggests trying `uncompress -c foo.tar.Z | tar xv -`....
And, `uncompress -c splunkforwarder-6.4.1-debde650d26e-SunOS-sparc.tar.Z` uncompresses it stdout...
↧