- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tar Command Error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 06:07 PM
06-27-2005 06:07 PM
Can somebody help me with my problem. I trying to extract a tar file with ":" in its file name but Im getting this error:
tar -tvf 050627-21:46_before.tar
rcmd: 050627-21: Unknown host
tar: 050627-21\:46_before.tar: Cannot open: /O error
tar: Error is not recoverable: exiting now
But when I used root a root account Im not geeting those error:
tar -tvf 050627-21:46_before.tar
rw-rw-rw- 1101/1101 0 Jun 27 21:46 2005 empty.file
rw-rw-r-- 1101/1101 76885 Jun 27 21:46 2005 ./sapdpch.551.20050627213426.gz
Is there something wrong with my profile? I have no problem using the same command in our other server...
Please help. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 06:39 PM
06-27-2005 06:39 PM
Re: Tar Command Error
GNU tar's -f option can take an argument in the following format
-f [
Since your tar file name contains colon (:) it considers part of the file name before colon as
This can be prevented using --force-local option
--force-local
archive file is local even if has a colon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 06:49 PM
06-27-2005 06:49 PM
Re: Tar Command Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 07:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 08:00 PM
06-27-2005 08:00 PM
Re: Tar Command Error
with 'which tar' you can see the path of the tar command. Then you should check /etc/PATH. I think the path of the hp-ux tar should come before the other tar path.
HTH
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 08:16 PM
06-27-2005 08:16 PM
Re: Tar Command Error
type tar : same as which
whereis tar : locations where tar command is located.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 08:22 PM
06-27-2005 08:22 PM