Sponsored Content
Operating Systems HP-UX Unable to create a tar file due to link Post 302758997 by nag_sathi on Monday 21st of January 2013 07:18:27 AM
Old 01-21-2013
Unable to create a tar file due to link

Hi,

I am trying to tar a directory structure. but unable to do due to a symbolic link. Please help

Code:
indomt@behpux $ tar -cvf test.tar /home/indomt
a /home/indomt symbolic link to /dxdv/03/ap1dm1

Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

script to create tar file

hello, im a newbie in unix scripting. can someone pls send me a sample script that will tar files in the folders of a specific directory, but will exclude specific files, and afterwards, will ftp the tar into another server. for example: in this directory, pshrprod:/opt/psoft/weblogic/818sp9_80... (2 Replies)
Discussion started by: ajrandrup
2 Replies

2. SCO

Unable to dump due to limited space?

After rebuilding the RAIDs on the SCO Unix, the following dialog appears when rebooting the machine. Fssat: /dev/boot mounted Mounted /stand filesystem Fsstat: /dev/usr1 okay Mounted /usr1 filesystem (continues usr2, usr3, Fsstat: /dev/usr4 okay Panic: HTFS: Bad directory ino... (2 Replies)
Discussion started by: Mac Tire
2 Replies

3. HP-UX

Unable to access TAR file

hi friends, I am using hp unix HP-UX B.11.11 .. Generally i do the compression to maintain the space availability . To compress the files first i used the TAR to collect all the files. it has done fine. when i am using command ls in the folder which has TAR file , it shows the TAR... (2 Replies)
Discussion started by: rdhaprakasam
2 Replies

4. HP-UX

HPVM Unable to create more guests due to lack of RAM

Hi All, There are few threads regarding this subject of being unable to create more guests due to lack of RAM. So I am aware how the sum works.. add 8.5% to whatever is allocated, be that the host or guest. But I'm not sure if I have a hardware issue with memory or what I see is correct as I am... (3 Replies)
Discussion started by: EricF
3 Replies

5. Red Hat

unable to open / create any file in vi

Hi, I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5, example vi test it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies

6. Red Hat

Unable to free space due to inode in use by database

Hi, I am having similar issue showing filesystem 100% even after deleting the files. I understood the issue after going through this chain. But i can not restart the processes being oracle database. Is there way like mounting filesytem with specific options would avoid happening this issue. How... (0 Replies)
Discussion started by: prashant185
0 Replies

7. UNIX for Advanced & Expert Users

Create corrupted *.tar.gz file ?

Hello. I`m writing a bash script who archive log files and send them to backup server. I need some kind of checking mechanism for *.tar.gz files. I found something like: gunzip -t file.tar.gz //Not output from it. And for tar: tar tf file.tar.gz //Only lists archive 1.) I need make a... (3 Replies)
Discussion started by: jabalv
3 Replies

8. Shell Programming and Scripting

Create tar file

Following are the list of files available in the dataout directory a1.txt.gz a2.txt.gz b3.txt.gzStep 1: now the tar file needs to be created as follows. tar -cvf ab.tar *.gzAll the files with extn .gzg has to be bundled in the tar file. Once the tar file is created, the files which are... (9 Replies)
Discussion started by: kmanivan82
9 Replies

9. Shell Programming and Scripting

awk to create variables to pass into a bash loop to create a download link

I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies

10. HP-UX

Unable to restore *.tar file

I tarred a directory to a different location. I then deleted the original directory. Now I need to restore the directory, and I am unable to do so (The contents do not get restored). However, when I type tar -tvf <tarfile), the list of contents are displayed : # tar -tvf lhs20170405.tar... (7 Replies)
Discussion started by: anaigini45
7 Replies
tar.h(3HEAD)							      Headers							      tar.h(3HEAD)

NAME
tar.h, tar - extended tar definitions SYNOPSIS
#include <tar.h> DESCRIPTION
The <tar.h> header defines header block definitions as follows. Name Description Value TMAGIC "ustar" ustar plus null byte TMAGLEN 6 length of the above TVERSION "00" 00 without a null byte TVERSLEN 2 length of the above Typeflag field definitions: Name Description Value REGTYPE '0' regular file AREGTYPE '' regular file LNKTYPE '1' link SYMTYPE '2' symbolic link CHRTYPE '3' character special BLKTYPE '4' block special DIRTYPE '5' directory FIFOTYPE '6' FIFO special CONTTYPE '7' reserved Mode field bit definitions (octal): Name Description Value TSUID 04000 set UID on execution TSGID 02000 set GID on execution TSVTX 01000 on directories, restricted deletion flag TUREAD 00400 read by owner TUWRITE 00200 write by owner special TUEXEC 00100 execute/search by owner TGREAD 00040 read by group TGWRITE 00020 write by group TGEXEC 00010 execute/search by group TOREAD 00004 read by other TOWRITE 00002 write by other TOEXEC 00001 execute/search by other ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
pax(1), attributes(5), standards(5) SunOS 5.10 10 Sep 2004 tar.h(3HEAD)
All times are GMT -4. The time now is 03:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy