I'm trying to use the following condition to detect *.tgz archives in a directory:
if [ -e ${INPUT_DIRECTORY}*tgz ]
While this condition works great when there is only one file, it's giving me an expected binary operator error on the 'if' line of my script, when there is more than one *.tgz file in the directory.
What am I missing ?