[plug] bash script

Richard Sharpe sharpe at ns.aus.com
Wed Jan 10 07:45:40 WST 2001


At 09:38 AM 1/10/01 +0800, Kevin Shackleton wrote:
>I wonder if someone has the time to help me fix a quick & dirty bash
script to
>automate a hard disc copy of a hundred or so floppy discs, basically:
>  n = 1

   n=1              # perhaps

>  while true do

   while [ 1 ] do   # Perhaps ...

>    mkdir n
>    mcopy b:*.* n
>    n = n + 1

     n=`expr n + 1`   # perhaps ...

>    echo "change discs, press a key"
>    read JUNK
>  done
>
>(there are a few syntax errors in this)
>
>K.
>
>
>

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba





More information about the plug mailing list