Change to the directory that contains the files you want to copy.
Insert a formatted diskette that is not write-protected into the drive.
Make the diskette available.
$ volcheck |
Reformat the diskette, if necessary.
$ rmformat -U /dev/rdiskette Formatting will erase all the data on disk. Do you want to continue? (y/n)y |
Copy the files to diskette.
$ tar cvf /vol/dev/aliases/floppy0 filenames |
The file names that you specify are copied to the diskette, overwriting any existing files on the diskette.
Verify that the files were copied.
$ tar tvf /vol/dev/aliases/floppy0 |
For more information on listing files, see How to List the Files on a Diskette (tar).
Remove the diskette from the drive.
Write the names of the files on the diskette label.
The following example shows how to copy files named evaluation* to a diskette.
$ cd /home/smith $ volcheck $ ls evaluation* evaluation.doc evaluation.doc.backup $ tar cvf /vol/dev/aliases/floppy0 evaluation* a evaluation.doc 86 blocks a evaluation.doc.backup 84 blocks $ tar tvf /vol/dev/aliases/floppy0 |