captorom.sh 107 B

123456
  1. #!/bin/bash
  2. for i in *.CAP; do
  3. x=`echo "$i"|sed -e 's/.CAP/.ROM/'`
  4. dd bs=2048 skip=1 if=$i of=$x
  5. done