The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
unable to access infodoc!! bpsunadm SUN Solaris 1 06-21-2009 08:11 AM
Unable to access variable outside loop Armaan_S Shell Programming and Scripting 1 05-23-2009 11:38 PM
Unable to access 3500 FC array. Where is the problem?.. Sapfeer SUN Solaris 7 04-01-2009 08:03 AM
unable to access a variable not local to a while loop codeman007 Shell Programming and Scripting 6 12-25-2008 04:56 PM
Unable to access home area Mr Pink SUN Solaris 1 04-15-2007 06:57 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-02-2009
rdhaprakasam rdhaprakasam is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 16
Unhappy 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 file existing . but, when i am using gzip command against this file it's not working other commands also not working against the TAR.
file permission is " -rw-rw-r-- "
I am unable to delete this file . please help me out .
Error it shows " No such file or directory "
  #2 (permalink)  
Old 07-02-2009
rakeshawasthi rakeshawasthi is offline
Registered User
  
 

Join Date: Aug 2004
Location: India
Posts: 379
If your tar filename has special characters, you will have a problem....
redirect the output of ls to a file and see what you get.
ls > newfile

one more thing u need to use

Code:
tar -xvf <tar-file> to untar and tar -cvf <tar-name> <file> to tar the file....

Not having execute permission, does not matter.
You dont use gzip or gunzip for that, do you?
  #3 (permalink)  
Old 07-02-2009
pludi's Avatar
pludi pludi is online now Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,944
Is the ownership set correctly? Does the filename contain any special/unprintable characters (you can check that with ll -b)?
For future reference, you can create a tar.gz in one step:
Code:
$ tar -cf - /path/to/save | gzip -9 > save.tar.gz

Saves on space, since only the tar.gz is created, instead of the tar & the (temporary additional space for the) tar.gz
Reply

Bookmarks

Tags
hp-ux - tar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0