Have a requirement to pull below files from Remote server in /Inbox Folder. So the files names is not static always but changing everyday.
But Format is SWIFT.vote.[!K][!R]$prevdate*.CSV
prevdate="$(date "+%y%m%d" -d "1 day ago")" -- 230326
Remote Server:
cd /Inbox
SWIFT.vote.ZA2303261725.CSV...