System Administration Guide: Basic Administration

Examples—Retrieving Files From a Diskette (tar)

The following example shows how to retrieve all the files from a diskette.


$ volcheck
$ cd /home/smith/Evaluations
$ tar xvf /vol/dev/aliases/floppy0
x evaluation.doc, 44032 bytes, 86 tape blocks
x evaluation.doc.backup, 43008 bytes, 84 tape blocks
$ ls -l

The following example shows how to retrieve an individual file from a diskette.


$ volcheck
$ tar xvf /vol/dev/aliases/floppy0 evaluation.doc
x evaluation.doc, 44032 bytes, 86 tape blocks
$ ls -l

The file names that you specify are extracted from the diskette and placed in the current working directory.