Thanks!
-Manuel.
"Mikkel L. Ellertson" wrote:
>
> At 02:15 PM 4/18/00 -0500, you wrote:
> >Hi!
> >
> >I know this must be a simple one, but got no idea. How can I copy floppy
> >disks on a single disk drive unit? (from the shell prompt)
> >
> >Thanks a lot.
> >
> >-Manuel.
> >
> Here is a shell script I can accross a while ago...
>
> #!/bin/sh
> #***********************************
> # Single drive disk copy program. *
> #***********************************
> #
> if [ "$1"="" ]
> then
> echo Usage: $0 /dev/[floppy drive]
> else
> echo "Insert sorce diskette in $1, then press ENTER..."
> read kb
> dd if=$1 of=/tmp/dd.$$ bs=18432 # copy to temp file
> echo "Insert destination diskette in $1, then press ENTER..."
> read kb
> dd if=/tmp/dd.$$ of=$1 bs=18432 # copy the tmp file to
> diskette
> rm -f /tmp/dd.$$ 2>&1 > /dev/null # delete the tmp file
> fi
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.