I want to automate a scp command like the following:
scp
[email protected]:/home/pi/remote/\{aaainremote,bbbinremote,cccinremote\} /home/pi/local
The above command works as expected when entered in a terminal.
The following is a condensed version of my bash script named cwmscp:
The variables...