09-22-2003
I do not agree !
No, if you use tar to copy in tar should be able to copy out as well.
Just F.Y.I. a forgotten "mt rewind" can give an error like this as well.
Regs David
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a text file as shown below:-
$cat hpdbdv01.out
-rw-r--r-- 1 oracle 35517583 May 4 2005 /tmp/eai/eai_obj1.dmp.Z
-rw-r--r-- 1 oracle 8733 May 4 2005 /tmp/eai/eai_obj2.dmp.Z
-rw-rw-rw- 1 oracle 18869248 Jun 24 2005 /tmp/edw.dmp
-rw-r--r-- 1 oracle ... (4 Replies)
Discussion started by: thiagoo
4 Replies
2. Shell Programming and Scripting
How would I go about an error check within a script. For example, if I have a script that I know might contain an error with a certain command, is there a way to give an alternate command if the first fails?
The best way I can explain it, is from the Mac world, using Applescript. With AS, I can... (1 Reply)
Discussion started by: TheCrunge
1 Replies
3. AIX
I have a tar file that contains some 50 files in it. while trying to untar i get a checksum error. iam unable to retreive the fiiles from that. Can anyone please help me...? (3 Replies)
Discussion started by: balaa
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a small requirement where i need to sum up a column in a text file.
Input file
66ab 000000 534385 -00000106350.00
66cd 000000 534485 -00013364511.00
66ad 000000 534485 -00000426548.00
672a 000000 534485 000000650339.82... (5 Replies)
Discussion started by: pssandeep
5 Replies
5. Shell Programming and Scripting
Hi
i data looks like this:
student 1
Subject1 45 55
Subject2 44 55
Subject3 33 44
//
student 2
Subject1 45 55
Subject2 44 55
Subject3 33 44
i would like to sum $2, $3 (marks) and divide each entry in $2 and $3 with their respective sums and print for each student as $4 and... (2 Replies)
Discussion started by: saint2006
2 Replies
6. Shell Programming and Scripting
Hi,
I am wirting a script to check the informatica services are running.
I am executing a CONFIG FILE before starting the check..
This config file will be having all the ENV Variables..that will be used in the script.
I wanted to first check if the Config file has be executed.
If its... (4 Replies)
Discussion started by: ch33ry
4 Replies
7. Shell Programming and Scripting
I have a script is as below , if the output of the script is 0 , then echo abc .
script1
if ]; then
echo abc
fi
Can advise if I would like to change it , check the output , if the output only have the wold "0" , then echo abc , if the output have other word , then do nothing , can... (3 Replies)
Discussion started by: ust3
3 Replies
8. Shell Programming and Scripting
unzip -v gives CRC info of each file in a zip(in my case .EAR) file.
# unzip -v my-application.ear
Archive: my-application.ear
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
197981 Defl:N 183708 7%... (1 Reply)
Discussion started by: kchinnam
1 Replies
9. Shell Programming and Scripting
Hi,
I am using the following command to get the sum and it is working correctly but I am getting syntax error as well.
# ------------------------------------------------------------------------
# Adding awk command support for SunOS -- use nawk for SunOS
#... (3 Replies)
Discussion started by: uuuunnnn
3 Replies
LEARN ABOUT SUSE
virt-tar-out
virt-tar-out(1) Virtualization Support virt-tar-out(1)
NAME
virt-tar-out - Pack a virtual machine disk image directory into a tarball.
SYNOPSIS
virt-tar-out -a disk.img /dir files.tar
virt-tar-out -d domain /dir files.tar
virt-tar-out -d domain /dir - | gzip --best > files.tar.gz
DESCRIPTION
"virt-tar-out" packs a virtual machine disk image directory into a tarball.
The first parameter is the absolute path of the virtual machine directory. The second parameter is the tar file to write. Use "-" to
write to standard output.
EXAMPLES
Download the home directories from a guest:
virt-tar-out -d MyGuest /home - | gzip --best > homes.tar.gz
JUST A SHELL SCRIPT WRAPPER AROUND GUESTFISH
This command is just a simple shell script wrapper around the guestfish(1) "tar-out" 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-tar-in(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-out(1)