#!/bin/sh

# Script to create a CF7+ disk image from multiple individual TI-99/4A disk images.
#
# Usage:
#
#  ./dsk2cf7 <cf7-diskname> [ <disk1> ... ]
#

cf7file=$1

shift

volume=1

for file in $@; do
	disk --output=cf7+ --filename=${cf7file}#${volume} $file
	volume=`expr ${volume} + 1`
done
