During tar, the command used is
tar cvf - * | remsh system_name dd of=/dev/rmt/0m bs=10k
To untar all, we used
remsh system_name "dd if=/dev/rmt/0m ibs=10k" | tar xvf -
Question?
How to untar a specific file from remote?
Thanks alot... (2 Replies)
I have file1.tar and want to untar it under /server/file2.
If I do tar -xvf file1.tar, the files will be deployed under file1.
How to specify the destination folder??
thx (3 Replies)
Hi frens,
I have to install samba on UNIX box
for that i have downloaded the samba file from netand now trying to untar that file and getting following error:
# tar -xvf samba-3.0.28a.tar.gz
UX:tar: ERROR: Directory checksum error
even i checked many times by again downloading the file... (6 Replies)
Hi All,
How do I untar (tar xvf) a file through an ssh session?
I have a tar file with "relative path names".
I scp the file to a remote host:/tmp - no prob.
But when I untar the file through ssh from a remote host
it puts it in my "home directory" under the relative path -
not in /tmp... (3 Replies)
I am trying to put together a script that will check for the latest file in a directory then extract it. The extraction and the scheduling I can do, but am not sure how to get it to check for the latest file.
These files are uploaded every evening by an external party and the previous days files... (3 Replies)
I have a tar file that I need to extract a single file to the current directory. The file I want to extract is located in the tar at the following path inside the tar file: repository/parts/SDCG.tgz
I use the following command to extract the file:
tar xf delivery.tar... (2 Replies)
Hello Experts,
I have requirement in which a file is present in the folder_test. In that folder there is file called Test.tar.gz.20111102. Now my requirement is i have to rename this file to someother format and untar it....
folder_test
Test.tar.gz.20111102
I am using the below... (5 Replies)
Hi,
I have been trying to untar this file hello.tar which consists of 3 files but nothing happens:
eux750{root}# tar -xvf hello.tar
x /hello, 8405 bytes, 17 tape blocks
Why am I not able to see the untarred files.:wall:
Thanks to help! (2 Replies)
Discussion started by: terminator
2 Replies
LEARN ABOUT LINUX
shape_tar
SHAPE_TAR(1) General Commands Manual SHAPE_TAR(1)NAME
shape_tar - shapeTools RMS bundle up subsystem in a tar or shar archive
SYNOPSIS
shape tar[VERSIONS=<version_selection_rule>] [ARCHIVE=<filename>]
shape shar[VERSIONS=<version_selection_rule>] [ARCHIVE=<filename>]
DESCRIPTION
Shape tar and shape shar create a tar or a shar archive containing all source components of the current node in the system tree. All source
components listed in the COMPONENTS macro in the Makefile and the release identification file (VERSIONFILE) are written to the archive.
Components of subsystems are not included in the archive file.
The VERSIONS macro may be set to specify a version selection rule to be active during archive file creation. Default is most_recent,
selecting the most recent version of each component. See shape_stdrul(7) or the $(SHAPELIBPATH)/stdrules for other possible settings. You
may also use self defined version selection rules as VERSIONS.
ARCHIVE is the base name of the file where the output shall be written to. Default is $(SUBSYSTEMNAME). The output file gets the filename
extension .tar (resp. .shar). When ARCHIVE=- is given, data will be written to standard output.
SEE ALSO shape_RMS(1), shape_stdrul(7)FILES
$(SUBSYSTEMNAME).tar $(SUBSYSTEMNAME).shar
24.8.119SHAPE_TAR(1)