- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unTar a specific file from remote
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
08-19-2004 07:54 PM
08-19-2004 07:54 PM
tar cvf - * | remsh [I]system_name[/I] dd of=/dev/rmt/0m bs=10k
To untar all, we used
remsh [I]system_name[/I] "dd if=/dev/rmt/0m ibs=10k" | tar xvf -
Question?
How to untar a specific file from remote?
Thanks alot...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 08:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 08:00 PM
08-19-2004 08:00 PM
Re: unTar a specific file from remote
just add the desired filename
remsh
HTH
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 08:01 PM
08-19-2004 08:01 PM
Re: unTar a specific file from remote
should be
remsh [I]system_name[/I] "dd if=/dev/rmt/0m ibs=10k" | tar xvf - FILENAME
from "man tar"
NAME
tar - tape file archiver
SYNOPSIS
tar [-]key [arg ...] [file | -C directory] ...
file specifies a file being saved or restored. If file is a
directory name, it refers to the files and (recursively)
the subdirectories contained in that directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 08:02 PM
08-19-2004 08:02 PM
Re: unTar a specific file from remote
Just add the filename to your extract command as it was written on the tape
Ex
remsh [I]system_name[/I] "dd if=/dev/rmt/0m ibs=10k" | tar xvf - /home/mimi/.profile
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2004 08:03 PM
08-19-2004 08:03 PM
Re: unTar a specific file from remote
I think you can try with
remsh [I]system_name[/I] "dd if=/dev/rmt/0m ibs=10k" | tar xvf - file_name
where file_name is the name of the file you want to extract.
Regards,
Borislav