Change to the directory where you want to put the files.
Insert the diskette into the drive.
Run volcheck to make the diskette available.
$ volcheck |
Use the tar command to retrieve files from a diskette.
$ tar xvf /vol/dev/rdiskette0/unlabeled |
All of the files on the diskette are copied to the current directory.
Verify the files have been retrieved by listing the contents of the current directory.
$ ls -l |
Remove the diskette from the drive.
The following example retrieves all the files from a diskette.
$ /home/smith/Evaluations $ tar xvf /vol/dev/rdiskette0/unlabeled x evaluation.doc, 44032 bytes, 86 tape blocks x evaluation.doc.backup, 43008 bytes, 84 tape blocks $ ls -l |
The following example retrieves an individual file from a diskette.
$ tar xvf /vol/dev/rdiskette0/unlabeled evalutation.doc x evaluation.doc, 44032 bytes, 86 tape blocks $ ls -l |
The file names you specify are extracted from the diskette and placed in the current working directory.