- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar command
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
Discussions
Discussions
Forums
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
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
тАО07-07-2009 04:15 AM
тАО07-07-2009 04:15 AM
tar command
I've to say that the structure I'm trying to tar doesn't contain link at all.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 04:45 AM
тАО07-07-2009 04:45 AM
Re: tar command
you can use a loop like :
1)create a file
cat > test1
./NDC.TRC032
./SMS.TRC015
./NDC.TRC033
./SMS.TRC016
./SMS.TRC017
2)use appropirate command to archive restore like, in this case archiving :
for i in `cat test1`
do
tar cvf /dev/rmt/??m $i
done
Hope that helps!
Regards ,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 04:58 AM
тАО07-07-2009 04:58 AM
Re: tar command
In any case thanks for your suggestion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 05:06 AM
тАО07-07-2009 05:06 AM
Re: tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 05:15 AM
тАО07-07-2009 05:15 AM
Re: tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 06:01 AM
тАО07-07-2009 06:01 AM
Re: tar command
it could be a problem of your tar-command.
Can you give us the command that you're running?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 06:05 AM
тАО07-07-2009 06:05 AM
Re: tar command
tar -cvf ok.tar ok.
I can add that when I try to tar files beeing in the MOCKUP directory, tar returns the expected output, it means that in that condition tar command work correctly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 06:49 AM
тАО07-07-2009 06:49 AM
Re: tar command
please test:
tar -cvf ok.tar ./ok
Also, can you give us a ll of the directory where you start the command.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:33 AM
тАО07-07-2009 08:33 AM
Re: tar command
(It would help if you also annotated your file.)
You may have to use fsck to check the directory. I assume ll(1) works there?
Have you tried pax(1) instead of tar?
I assume you aren't using gnu tar?
What OS version?