Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


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

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.