#!/bin/bash
# Proper header for a Bash script.
# sst <pattern> <path>
# Search for pattern within zip files while recursively searching
# down a directory tree starting from the passed directory path.
#
# examples: ./sst teledisk.exe /home/larry/Downloads
# Wildcards are valid.....
# ./sst "CN-6655*" /home/larry
# ./sst "CN-66*" /home/larry
#
# You may need to add the following test!
# Run as root, of course.
# Insert code here to print error message and exit if not root.
# clear

cp 380Z_Wordstar_3.0.IMD WORDSTR3.IMD
cp 380Z_WRI.IMD WRI.IMD
cp 380Z_UNK_5A.IMD UNK_5A.IMD
cp 380Z_UNK1.IMD UNK1.IMD
cp 380Z_SMILED.IMD SMILED.IMD
cp 380Z_SMILE.IMD SMILE.IMD
cp 380Z_RML_CPM22C.IMD CPM22C.IMD
cp 380Z_QUEST.IMD QUEST.IMD
cp 380Z_MOSAIC.IMD MOSAIC.IMD
cp 380ZMULT.IMD MULT.IMD
cp 380ZDS8.IMD DS8.IMD
cp 380ZDS6B.IMD DS6B.IMD
cp 380ZDS6A.IMD DS6A.IMD
cp 380ZCPME.IMD CPME.IMD
cp 380ZBAS5.IMD BAS5.IMD
cp 380DDWRI.IMD DDWRI.IMD

cp 480Z_PRIMAR.IMD PRIMAR.IMD
cp 480Z_ARROW.IMD ARROW.IMD
cp 480Z_80.IMD 80.IMD
cp 480Z_40.IMD 40.IMD
cp 480ZWELC.IMD WELC.IMD
cp 480ZSYSQ.IMD SYSQ.IMD
cp 480ZSYSD.IMD SYSD.IMD
cp 480ZSYS.IMD SYS.IMD
cp 480ZSSSD.IMD SSSD.IMD
cp 480ZSHRD.IMD SHRD.IMD
cp 480ZSD4.IMD SD4.IMD
cp 480ZSD3.IMD SD3.IMD
cp 480ZSD2.IMD SD2.IMD
cp 480ZSD1.IMD SD1.IMD
cp 480ZDSQD.IMD DSQD.IMD
cp 480ZDSDD.IMD DSDD.IMD
cp 480ZBOOT.IMD BOOT.IMD
cp 480ZBAS.IMD BAS.IMD

echo
echo "exiting the script."
echo

exit # The right and proper method of "exiting" from a script.








