I have a folder with about 40 SQL scripts with varying names,
All using the pattern
The file number consist of 2 digits and goes from 01 to 40, not all numbers in this range included.
I would like to iterate over this folder with files and run them via mysql cmd in a DESC filename order.
How can I run them all via
mysql cmd in order of descending file number? Thanks.