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
*stands for any number of characters, so***is the same as*. The wildcard for one character is?.