Below is a shell script that i made:-
if [ -f T010B04* ] ;
echo "ZIP Exists and now Processing"
for files in /opt/tibco/shared/adaptadores/SSCC/EVEREST/input/T010B04.*
echo "Files Unzipped"
mv /opt/tibco/shared/adaptadores/SSCC/EVEREST/input/T010B04.* /opt/tibco/shared/adaptadores/SSCC/EVEREST/completion
this script needs to unzip the zip files which contain the name string as T010B04.* and then the zips needs to be moved into another folder.
When I manually fire the script from command line that is ./ABC.sh
the script works as expected, however when the CONTROL - M job fires this script the unzipping and movement of file is not happening.
Please help as i am not able to find any issues in my script!!!!