Create tar.gz in OpenSolaris
by alamster in October 11th, 2009
I need to make backup for our public_html directory
using tar command I used to use :
tar cvzf filename.tar.gz directory_name
It work in linux or bsd but I have different situation with OpenSolaris :
# uname -a
SunOS TGLxxxxxxx 5.11 snv_86 i86pc i386 i86xpv
# tar cvzf public_html.tar.gz public_html
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}…
#
Combine it with gzip using pipe will give tar.gz file :
tar cvf - public_html | gzip > public_html.tar.gz
Yes, it works!
scp time.
P.S :
In case you want to extract .tar.gz file in OpenSolaris use this command :
gzip -dc filename.tar.gz | tar xvf -
- create tar gz
- tar: z: unknown function modifier
- opensolaris tar
- tar gz opensolaris
- tar opensolaris
- tar create
- create tgz
- make tar gz
- create a tar gz file opensolaris
- tar on opensolaris
- tar z unknown function modifier opensolaris
- creating tar gz
- tar z is an unknown modifier
- extract tar gz opensolaris
- extract gz file opensolaris
- extract gz opensolaris
- generate tar gz
- tar gzip
- opensolaris tar gz
- opensolaris tar gzip
- opensolaris gzip
- opensolaris tar howto
- opensolaris untar gzip
- tar excluding files sunOS
- how to create a tar gz files
- gzip opensolaris
- tar folder tar: z: unknown function modifier
- opensolaris tar directory
- ccreate gz
- create tar z
- create tar gzip
- create tar gz with gzip
- create tar gz tar cvzf
- uncompress tar gz opensolaris
- opensolaris tar extract how
- tar -xvzf : tar: z: unknown function modifier
- sunos tar gzip command
- SunOS tar command directory
- sunos how to create tgz file
- tar -z opensolaris
- untar gz tar: z: unknown function modifier
- tar -zcvf tar gz tar: z: unknown function modifier
- tar command in linux tar: z: unknown function modifier
- tar command include-file
- tar command tar gz
- unpack tar gz opensolaris
- tar create sunos
- tar cvf gz
- sunos gzip exclude
- sunos create tar gz






No Comment
Random Post
Leave Your Comments Below