The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM



Thread: cpio question
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 01-17-2008
HNelson HNelson is offline
Registered User
 

Join Date: Jan 2008
Posts: 6
Got it

I managed to figure it out. After creating the tape directory and trying a few different combinations of the switches I finally got it with using wildcards.

cpio -AvicdumkB -I/dev/rct0 u/prd*/MUMPS*

Mumps is the name of the file and it's extension is .DAT in the prd directory but it's .EXT in each subsequent directory so cpio will play nice with the wilcard.

Many thanks for pointing me in the right direction. I fear I would have been pulling my hair out trying to figure this out.

Hnelson
Reply With Quote