Wildcard in bash script
问题 I have a bash script to retrieve files from ftp. Now the files have one part a date string in the filename, but also undefined numbers that changes on every file. I want to download the files based on the date. This is my code. I only need to do the wildcard trick, the ftp script is allready work. filename=$(echo $TIMESTAMP'0***vel.radar.h5') The stars are 3 digits with different numbers that i can't estimate, so i would use the wildcard for them. Thank you 回答1: It sounds like you want to