LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2005, 04:43 PM   #1
ziggy25
Member
 
Registered: Aug 2005
Distribution: Debian 5.2
Posts: 56

Rep: Reputation: 15
cpio file formats


hey..

I just downloaded a file which is in the following format abcd.cpio.gz

Im not sure how to unpack it as im not familiar with this file format. The file is currently downloaded on a Windows machine. I looked at the contents of the .gz file using winrar and its got a file in it with an extension of *.cpio

I would like to move this file to a linux box extract it and install the application. I tried to google around for information on how i can extract the file and it looks like the cpio file needs to be extracted with special options depending on how the archive was orignally created.

Im a bit confused about this. Can anyone help.. ?

thanks
 
Old 10-31-2005, 05:09 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
I've never actually downloaded a cpio file but, when I want to restore a backup, I use this format:
cpio -vicdm < abcd.cpio.gz

You can get more details from cpio --help
 
Old 10-31-2005, 05:14 PM   #3
ziggy25
Member
 
Registered: Aug 2005
Distribution: Debian 5.2
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks for the reply..

Two questions..

-would that restore the *.gz
-would the directory structure be restored as it was originally?

thanks
 
Old 10-31-2005, 05:21 PM   #4
grautu
Member
 
Registered: Jul 2005
Posts: 142

Rep: Reputation: 15
I think you have nothing to install but decompress twice: first 'gz' and then 'cpio' extension. Total Commander (a litle beautiful application which runs under Windows) has a magic built in tool which never failed to decompress even Unix archives (Alt+F9 always does the best, irrespective of extensions). Good luck!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux file formats name* arnekasper Mandriva 4 07-14-2005 08:43 AM
unable to cpio the file ashley75 Linux - General 2 06-03-2005 08:29 AM
CPIO will not extract File stress Linux - Software 2 07-22-2004 01:04 AM
ebook file formats jburford Linux - Software 3 05-10-2004 09:36 PM
Movie File Formats GtkUser Linux - General 6 10-03-2002 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration