gtar(1) General Commands Manual gtar(1)NAME
GNU tar, gtar - A utility used to store, backup, and transport files
usrbingtar [ option ...] [ file ... ]
usrgnubintar [ option ...] [ file ... ]
gtar (GNU tar) is an archiving program designed to store and extract files from an archive file known as a tarfile. For complete documen-
The standard version of tar is shipped under the name /usr/bin/tar and additional information about it can be obtained by typing the com-
mand 'man -M /usr/share/man tar'.
GNU General Public License (GPL)
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability | SUNWgtar |
|Interface Stability | Volatile |
Source for gtar is available on http://opensolaris.org.
8 Jun 2007 gtar(1)
Check Out this Related Man Page
bf_tar - shell script to write a tar file of a bogofilter directory to stdout
bf_tar [-r] [-R] bogofilter_directory
bf_tar bundles a bogofilter working directory in tar format and copies it to standard output (your console, or where you redirect it, see
The -r option causes bf_tar to remove inactive log files after the archive has been written successfully. The default is to leave log
The -R option causes bf_tar to remove inactive log files before the archive is written. This may reduce chances that the resulting archive
is recoverable should it become damaged. The archive may be smaller though. The default is to leave log files.
The script exits with status code 0 if everything went well, and nonzero if it encountered trouble.
o bf_tar ~/.bogofilter > outfile.tar
Writes a standard .tar file containing the essential files from ~/.bogofilter to outfile.tar.
o bf_tar ~/.bogofilter | gzip -9 -c > outfile.tar.gz
Writes a gzipped .tar.gz file containing the essential files from ~/.bogofilter to outfile.tar.gz.
o bf_tar `pwd`/mydirectory > outfile.tar
Prepend $(pwd)/ or `pwd`/ if you want to specify an absolute path instead of a relative path.
This script is meant for use with Berkeley DB based bogofilter versions.
This script requires a SUSv2 compliant pax utility.
This script expects a SUSv2 compliant shell. Solaris systems should have the SUNWxcu4 package installed (when bogofilter is configured) so
that /usr/xpg4/bin/sh can be used.
We have a gtar file and we are trying to untar the file with the option
gtar -xvzf <filename>
The gtar gets us till the end and throws the error message as highlighed below
gzip: stdin: unexpected end of file
gtar:... (1 Reply)
I am trying to write a very large file, 570 gb, to a tape using gtar like this :
gtar czxf /dev/rmt/1 ./*
I get a message:
off_t value 570635451556 too large (max=68719476735)
It is writing to tape, but will it be good?
Thanks (1 Reply)
will gtar zcvf command work in csh and tcsh shells? Becuase when i'm executing one script in bash and ksh, it's working fine. But it's not working in csh and tcsh shells. We have to run multiple scripts in tcsh, so we can not change the shell while executing these scripts. One of my... (2 Replies)
I am preparing a script to view or Extract contents of a tape drive using gtar.But facing a strange issue while trying to extract files using gtar.
If running script using sudo the getting the below error.
/usr/local/lib /usr/X11/lib /usr/X11R6/lib... (1 Reply)
Hi, I recently tried to create a tar archive on a Solaris 10 machine with gnu tar 1.17 and I used the command gtar -cjf filename.tar file1 file2 directory.
The creation was successful but I'm not sure if the file was compressed with bzip as the j option is supposed to do. How can I check that it... (2 Replies)
We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (2 Replies)
We are taking backup of our application data(cobol file system, AIX/unix) before and after EOD job runs. The data size is approximately 260 GB in biggest branch. To reduce the backup time, 5 parallel execution is scheduled through control-m which backups up the files in 5 different *.gz. The job... (8 Replies)
We are planning to migrate from Solaris to AIX, and we have a requirement to move all files modified in last 7 days to AIX.
i found many helpful forums on this site but somehow the issue was still not solved:
Used the following command from the directory which we want to scan
... (6 Replies)