gtar(1) General Commands Manual gtar(1)NAME
GNU tar, gtar - A utility used to store, backup, and transport files
SYNOPSIS
usrbingtar [ option ...] [ file ... ]
usrbingtar --help
usrgnubintar [ option ...] [ file ... ]
usrgnubintar --help
DESCRIPTION
gtar (GNU tar) is an archiving program designed to store and extract files from an archive file known as a tarfile. For complete documen-
tation, type:
info tar
NOTE
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'.
LICENSE
GNU General Public License (GPL)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWgtar |
+--------------------+-----------------+
|Interface Stability | Volatile |
+--------------------+-----------------+
NOTES
Source for gtar is available on http://opensolaris.org.
8 Jun 2007 gtar(1)
Check Out this Related Man Page
virt-tar-in(1) Virtualization Support virt-tar-in(1)NAME
virt-tar-in - Unpack a tarball into a virtual machine disk image.
SYNOPSIS
virt-tar-in -a disk.img data.tar /destination
virt-tar-in -d domain data.tar /destination
zcat data.tar.gz | virt-tar-in -d domain - /destination
WARNING
Using "virt-tar-in" on live virtual machines can be dangerous, potentially causing disk corruption. The virtual machine must be shut down
before you use this command.
DESCRIPTION
"virt-tar-in" unpacks an uncompressed tarball into a virtual machine disk image or named libvirt domain.
The first parameter is the tar file. Use "-" to read the tar file from standard input. The second parameter is the absolute target
directory to unpack into.
EXAMPLES
Upload a home directory to a guest:
virt-tar-in -d MyGuest homes.tar /home
JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH
This command is just a simple shell script wrapper around the guestfish(1) "tar-in" command. For anything more complex than a trivial
copy, you are probably better off using guestfish directly.
OPTIONS
Since the shell script just passes options straight to guestfish, read guestfish(1) to see the full list of options.
SEE ALSO guestfish(1), virt-cat(1), virt-copy-in(1), virt-copy-out(1), virt-edit(1), virt-make-fs(1), virt-tar-out(1), <http://libguestfs.org/>.
AUTHORS
Richard W.M. Jones ("rjones at redhat dot com")
COPYRIGHT
Copyright (C) 2011 Red Hat Inc. <http://libguestfs.org/>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
libguestfs-1.18.1 2013-12-07 virt-tar-in(1)
Hi All,
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
mfcp/XFHFCD2.CPY
mfcp/XFHFCD3.CPY
mfcp/XFHFCD.CPY
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)
Hi all,
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)
Hello All,
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)
Hi All,
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)