Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>Extracting CPIO archive

Extracting CPIO archive

RedTurbo
04-05-2004, 08:12 AM
Is it possible to extract a file from a CPIO archive to a specific place?

I cannot find a way to do it, I'm using the command:

cpio -id "./Customer Files/ESTIMATE LOG/Estimate.xls" < "/Volumes/Backup/Archive.cpio"


to extract the file Estimate.xls, but it creates the directory structure in the current directory, is there a way to extract just the file 'Estimate.xls' to a specific folder?

tas
04-07-2004, 06:07 AM
Not sure if this will answer your question, but there was a good article about using cpio here: http://www.onlamp.com/pub/a/bsd/2002/07/11/FreeBSD_Basics.html


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

Authenticating from command-line when "su user ..."
Scanning mail
Get a Tab Del File from ls output
Unmounting
CpMac
Problems installing from source
.bashrc not being executed?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics