- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what do i do with a .cpio file
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
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
тАО05-02-2006 03:49 AM
тАО05-02-2006 03:49 AM
what do i do with a .cpio file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 03:56 AM
тАО05-02-2006 03:56 AM
Re: what do i do with a .cpio file
cpio -idv < cpio_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 03:58 AM
тАО05-02-2006 03:58 AM
Re: what do i do with a .cpio file
cpio -idmv < file
Where file is your .cpio file. To list file contents the sintaxis is:
cpio -t < file
Regards,
pabel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 03:59 AM
тАО05-02-2006 03:59 AM
Re: what do i do with a .cpio file
Please use
cpio -itv < filename.cpio
to list the contents
Regards,
ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 03:59 AM
тАО05-02-2006 03:59 AM
Re: what do i do with a .cpio file
to get the content info of a cpio-archive use
cpio -itv
More info is found in 'man cpio'.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 04:00 AM
тАО05-02-2006 04:00 AM
Re: what do i do with a .cpio file
cpio -it < file.cpio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 06:16 AM
тАО05-02-2006 06:16 AM
Re: what do i do with a .cpio file
If i leave the '<' out nothing happens..
I'm positioned in the directory that has the .cpio file...
I'm logged in as the owner of the directory that has the .cpio file..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 08:55 PM
тАО05-02-2006 08:55 PM
Re: what do i do with a .cpio file
please send the outout of
ls -l *.cpio
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 08:59 PM
тАО05-02-2006 08:59 PM
Re: what do i do with a .cpio file
Also do a
file filename.cpio
to check its showing a cpio archive.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2006 10:36 PM
тАО05-02-2006 10:36 PM
Re: what do i do with a .cpio file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 06:15 AM
тАО05-04-2006 06:15 AM
Re: what do i do with a .cpio file
The second thing is perhaps you need a "./" in front of the filename.
I.e.
cpio -itdumvc < ./HP_text_text.cpio
To make a cpio file
find . -print | cpio -odumvc > ./file.cpio
To read file LISTING from a cpio file.
cpio -itdumvc < ./file.cpio
To extract all stuff from a cpio file.
cpio -idumvc < ./file.cpio
c - Character format
B - block format
Bc - a little of both?
I just try cpio with and without c and B.
If you get an "out-of-phase" error, you are using the wrong option.
What do I mean?
try cpio -itdumvc < ./file
and cpio -itdumvB < ./file
and cpio -itdumvBc < ./file
and cpio -itdum < ./file
t - means list the stuff, don't extract it.
d - means make directories
u - means do it no matter what
m - means retain owner and modification time.
i - means read a file
o - means make a file