Using disks with TAR format
If you are using a new floppy which hasn't already been formatted, see
the stock answer "How to FORMAT FLOPPY disks on Athena". Do not
reformat a disk that has files on it unless you want to erase them!
Then, to save your current directory on a floppy disk, type:
tar cvf DEVICE . [NOTE: the "." is necessary!]
WARNING: This command wipes out any files currently stored on the disk!
In the above command, DEVICE should be one of the following, depending on
what type of workstation you are on:
/dev/fd0/ on Linux machines
/dev/rfd0 on RS/6000s
/floppy on SGIs
/vol/dev/aliases/floppy0 on Sun workstations
(if the floppy is labelled,
replace "floppy0" with the
actual label name; if it
doesn't exist, run "volcheck")
To restore all the information from a floppy into your current directory,
type:
tar xvf DEVICE
using the table above to determine the appropriate device type.
For more detailed information about the tar command and its options, type:
man tar
last updated: 3/28/01
|