home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / xloadimg.zip / xloadimage.4.1 / makefloppy < prev    next >
Text File  |  1993-10-21  |  253b  |  15 lines

  1. #!/bin/sh
  2. echo "Insert an empty floppy disk and push a key.  If you want to abort"
  3. echo "the process, type q..."
  4. read answer
  5.  
  6. if [ "$answer" == "q" ]; then
  7.   exit 1
  8. fi
  9.  
  10. # format the floppy
  11. fdformat -f
  12.  
  13. # tar the stuff onto the floppy
  14. tar cf /dev/fd0 $*
  15.