cpio is driving me crazy - please help

cpio is driving me crazy - please help

Post by Dan Ellis » Thu, 05 Mar 1992 01:17:14



Hi everybody.  I have tried and tried to instruct cpio to retrieve
a complete subdirectory heirarchy from tape and I can't figure it
out (sigh....)

Could some kind soul please tell me the correct syntax?

I have tried:

        cpio -iBvudmk igate/pub/X11R5*          (no good)
        cpio -iBvudmk igate/pub/X11R5/*         (also no good)
        cpio -iBvudmk igate/pub/X11R5           (I give up!)

What is the magic command line?  Please help.  Thanks.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Ellison, Network Admin      -     Molecular Science Program SIU-C |
| Southern Illinois University    -     Carbondale, IL 62901            |  
| FAX:      (618) 453-3459        -     PHONE:    (618) 453-7310        |    

 
 
 

cpio is driving me crazy - please help

Post by joseph.h.buehl » Thu, 05 Mar 1992 08:09:33



   Hi everybody.  I have tried and tried to instruct cpio to retrieve
   a complete subdirectory heirarchy from tape and I can't figure it
   out (sigh....)

   Could some kind soul please tell me the correct syntax?

   I have tried:

           cpio -iBvudmk igate/pub/X11R5*       (no good)
           cpio -iBvudmk igate/pub/X11R5/*              (also no good)
           cpio -iBvudmk igate/pub/X11R5                (I give up!)

   What is the magic command line?  Please help.  Thanks.

You didn't say what the error was.  You might have just forgotten the
'c' option (if you need it), or . may have igate/pub/X11R5/whatever
under it, or you may have the wrong /dev file, or...

In general, you should use ' characters with *'s.  E.g.:

        cpio -icdmuvB 'igate/pub/X11R5*' < /dev/scsi/qtape1

or something similar should work.

 
 
 

cpio is driving me crazy - please help

Post by Richard J. Bart » Fri, 06 Mar 1992 04:14:21



>Hi everybody.  I have tried and tried to instruct cpio to retrieve
>a complete subdirectory heirarchy from tape and I can't figure it
>out (sigh....)
>Could some kind soul please tell me the correct syntax?
>I have tried:
>    cpio -iBvudmk igate/pub/X11R5*          (no good)
>    cpio -iBvudmk igate/pub/X11R5/*         (also no good)
>    cpio -iBvudmk igate/pub/X11R5           (I give up!)
>What is the magic command line?  Please help.  Thanks.

cpio -iBvudm "igate/pub/X11/R5*" < {cpio-file}

The quotes are very necessary.  You might want to do
the following to see what the directory of the archive
is first because it may have a "./" in it first.  

cpio -iBvt < {cpio-file}

If there is an error, try iBcvt, it may need the 'c' in there.

If it does have the "./" preceeding the path, then use

cpio -iBvudm "./igate/pub/X11/R5*" {cpio-file}

Good luck.

rick
:-)

--

 
 
 

cpio is driving me crazy - please help

Post by Bill Campbe » Fri, 06 Mar 1992 02:06:47



:Hi everybody.  I have tried and tried to instruct cpio to retrieve
:a complete subdirectory heirarchy from tape and I can't figure it
:out (sigh....)

:Could some kind soul please tell me the correct syntax?

:I have tried:

:       cpio -iBvudmk igate/pub/X11R5*          (no good)
:       cpio -iBvudmk igate/pub/X11R5/*         (also no good)
:       cpio -iBvudmk igate/pub/X11R5           (I give up!)

Put quotes around your regular expressions to keep the shell from
expanding them (same problem with -name in find).
        cpio -iBvudmk 'igate/pub/X11R5*'

Bill
--

UUCP:   ...!thebes!camco!bill   6641 East Mercer Way
             uunet!camco!bill   Mercer Island, WA 98040; (206) 947-5591
SPEED COSTS MONEY -- HOW FAST DO YOU WANT TO GO?

 
 
 

1. cpio driving me crazy (not any more!)

Thanks to all those that responded to my plea for help.  I guess
my brain is just getting tar'red out or something.  Obviously
the metachar (*) has to be quoted (sigh....)  Wouldn't be too
bad but the archive I'm working with is >1GB so it takes a long
time to find out if the keyword(s) are correct.

Thanks again.  It's fixed.

dan
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Ellison, Network Admin      -     Molecular Science Program SIU-C |
| Southern Illinois University    -     Carbondale, IL 62901            |  
| FAX:      (618) 453-3459        -     PHONE:    (618) 453-7310        |    

2. rtin question

3. HELP!! I am getting crazy!

4. Cannot boot with Adaptec 2940 SCSI (pci) host card

5. Help! I am going crazy with installation.

6. Pb with compiling Apache 1.3.14

7. Sol9 binaries - help me I am going crazy

8. Cheap board - reboot behaves like halt!

9. Modules still not working please help me before I go crazy!

10. Crazy float to int problem... please help

11. Please help..going crazy: RH 8 installation problems

12. mouse is going crazy in X windows PLEASE HELP

13. am I crazy?