I am trying to find special kinds of files in a directory using "if", however, it seems it does not work. I am pretty sure that the problem has to do with using asterisk. Thanks for any help.
Here is the code.
if [ -f "$IMAGES_DIRECOTRY"/R*.FIT ] ; then echo " exist" fi
Aucun commentaire:
Enregistrer un commentaire