Entering edit mode
7.1 years ago
vmicrobio
▴
290
Hello!
I want to print the name of file having '.gbk' extension located in numerous subdirectory within my directory 'test'. However I have an issue with my bash code
#!/bin/bash
files='$.gbk'
if [ "-e home/ha/desktop/test/*/$files" ];
then
echo "$files"
fi
any suggestions?