Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
50.  Copying UFS Files and File Systems (Tasks) Copying Files With a Different Header Format How to Create an Archive for Older SunOS Releases Example--Creating an Archive for Older SunOS Releases  Previous   Contents   Next 
   
 

Retrieving Files Created With the bar Command

To retrieve files from diskettes that were archived by using the SunOS 4.0/4.1 bar command, use the cpio -H bar command.


Note - You can use only the -H bar option with the -i option to retrieve files. You cannot create files with the bar header option.


How to Retrieve bar Files From a Diskette

  1. Change to the directory where you want to put the files.

  2. Insert the diskette into the drive.

  3. Make the diskette available.

    $ volcheck
  4. Retrieve bar files from a diskette.

    All files on the diskette are copied to the current directory.

    $ cpio -ivH bar < /vol/dev/aliases/floppy0
 
 
 
  Previous   Contents   Next