summaryrefslogtreecommitdiffstats
path: root/source/a/bin/scripts/diskcopy
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/bin/scripts/diskcopy')
-rw-r--r--source/a/bin/scripts/diskcopy9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/a/bin/scripts/diskcopy b/source/a/bin/scripts/diskcopy
new file mode 100644
index 000000000..9f3cc586f
--- /dev/null
+++ b/source/a/bin/scripts/diskcopy
@@ -0,0 +1,9 @@
+#!/bin/sh
+echo -n "Insert source disk in first floppy drive, then hit enter"
+read ans;
+MCOOKIE=`mcookie`
+dd if=/dev/fd0 of=/tmp/dcopy.$MCOOKIE
+echo -n "Remove source disk and insert destination disk, then hit enter"
+read ans;
+dd of=/dev/fd0 if=/tmp/dcopy.$MCOOKIE
+/bin/rm -f /tmp/dcopy.$MCOOKIE