Here's a layup for someone...I'm having to run a command repeatedly:$ wp input csv MyCSV01.csv directory_name$ wp input csv MyCSV02.csv directory_name$ wp input csv MyCSV03.csv directory_nameThe only change is the filename is incrementing. How can I run all these back to back?Perhaps find all the files that start with MyCSV* and then run them in order? And/or specify a range of the files to run MyCSV03.csv through MyCSV05.csv?Ideally, the solution is short enough for the command line, but it could be a script.
Repeating command with different filenames
bash;shell script;command line;zsh
for i in {01..20}; do  #replace with your own range   echo \   wp input csv MyCSV$i.csv directory_namedoneComment out the echo line if it gives you the results you want.zsh, which you tagged your question with, has a shorter form:for i (MyCSV{01..20}.csv) wp input csv $i directory_nameOr you could use its zargs function:autoload zargs # best in ~/.zshrczargs -i MyCSV{01..20} -- wp input csv {} directory_name