DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Working with disks, tapes, and CD-ROMs

Listing the files in a cpio backup

To list the contents of a cpio backup, use the following command:

cpio -itv < device

The device argument is either the name of the device where the backup is stored, or the name of the file containing the backup. The -i option defines cpio input mode, and t and v combine to display a directory listing, the output of which contains the same information as ls -l (although the format differs slightly):

   $ cpio -itv <archive.cpio
   100644 charles    693  Jan 29 16:20:03 1993  book.order
   100644 charles   3783  Feb 01 13:36:34 1993  checkmac.out
   100644 charles  16457  Jan 26 14:02:59 1993  command.eps
   100644 charles   1199  Jan 29 10:36:04 1993  filesched
   100644 charles  21064  Jan 26 14:03:00 1993  permis.eps
   100644 charles  29954  Jan 26 14:03:01 1993  procTree.eps
   100644 charles    422  Jan 28 15:17:26 1993  review.log
   143 blocks

Next topic: Extracting files from a cpio backup
Previous topic: Creating a backup with cpio

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005