05-30-2019
Quote:
Originally Posted by
vgersh99
This is way too vague of a request.
Define "nothing happens" and share your tar cfvz.
I created a number of files and then created a
tar.gz file.
According to the documentation and also video on Linux Academy after
using
tar cfzv it should be creating both a zipped file and a tar file.
Only the
tar.gz file shows.
In addition no files are extracted either.
Last edited by rbatte1; 06-03-2019 at 09:11 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have created a tar file by giving the below command :
all files of directory : /Accounts/2001/10/26
$tar -cvf Act26.tar /Accounts/2001/10/26
I copied into another server and given the following command:
$tar -xvf Act26.tar
then permision denied message came due to the... (3 Replies)
Discussion started by: krishna
3 Replies
2. UNIX for Dummies Questions & Answers
Hi!
I've uploaded a .tar file (created with Windows) containing my homepage to my webserver.
Now I'd like to extract the file on the server. I can do that with SSH.
BUT::
If i enter this command:
tar -xf homepage.tar
only the files in the root directory of the file get extracted.... (2 Replies)
Discussion started by: roberthawke
2 Replies
3. UNIX for Advanced & Expert Users
Hi,
when I extract a TAR archive by tar -xf file.tar
the file.tar file stays on disk. Then I need two time the disk space.
How can I avoid that ? How to ask not to keep file.tar ?
Many thanks. (8 Replies)
Discussion started by: big123456
8 Replies
4. UNIX for Dummies Questions & Answers
Hi, I am Nico.
I have a tarball that i can't extract.
I have this file: FlussiIbox.20060215.tar
when i write "tar tf FlussiIbox.20060215.tar"
the output is:
/u01/USCITA/jobs/SUNRISE/output/IBOX.counter.20060212.dat.gz
/u01/USCITA/jobs/SUNRISE/output/IBOX.counter.20060213.dat.gz... (1 Reply)
Discussion started by: volleyboy
1 Replies
5. Shell Programming and Scripting
hi all,
kindly help me how to extract one file form .tar.gz without uncompressing .tar.gz file.
thanks in advance
bali (2 Replies)
Discussion started by: balireddy_77
2 Replies
6. UNIX for Dummies Questions & Answers
I've got this Files.tgz containing
Fruits/Apple.txt
Drinks/Soda.txt
Drinks/Pepsi.txt
I would like to extract all files/directories with pattern "Fruits".
So, what I did was
tar -xvf File.tgz `tar -tf Files.tgz | grep 'Fruits'`
However, output is:-
Files/Fruits... (8 Replies)
Discussion started by: percivalwcy
8 Replies
7. UNIX for Dummies Questions & Answers
I need to extract a file,which contains the path to a new path.
sample tar file
tar -tfv class.tar | grep client
-rw------- 0/1 99 Jan 22 12:46 2004 /usr/openv/netbackup/db/class/mariner/clients
-rw------- 0/1 102 Sep 25 11:33 2007... (1 Reply)
Discussion started by: jouuu
1 Replies
8. Linux
Hi,
how can I extract glibc-2.3.2.tar.tar file ?
I used tar -xf but does not work.
Thank you. (4 Replies)
Discussion started by: big123456
4 Replies
9. UNIX for Dummies Questions & Answers
I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it.
Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem?
tar tvf file1.tar
... (1 Reply)
Discussion started by: vivien_chu
1 Replies
10. UNIX for Advanced & Expert Users
I was looking at this tutorial for tar extract Z file. Is there a reason why this did not work? I checked my man pages and it had a -Z option.
tar -xZvf /opt/Nimsoft/nimldr.tar.Z
tar (child): compress: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now... (2 Replies)
Discussion started by: cokedude
2 Replies
LEARN ABOUT DEBIAN
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)