The following works, but I have to enter a password twice, once for each file to be copied
scp [email protected]:/home/pi{test1.py,test2.py} /home/walli
I tried the following from searching the Internet:
scp [email protected]:\{test1.py,test2.py\} /home/walli
The error is: scp: {test1.py,test2.py}: No such file or directory when the password is entered.
This next line also gives an error:
scp [email protected]:/home/pi/\{test1.py,test2.py\} /home/walli
The error is: scp: /home/pi/{test1.py,test2.py}: No such file or directory
Does anyone know how to copy multiple files and only require the password to be entered once?
Thanks,
Wallis
scp [email protected]:/home/pi{test1.py,test2.py} /home/walli
I tried the following from searching the Internet:
scp [email protected]:\{test1.py,test2.py\} /home/walli
The error is: scp: {test1.py,test2.py}: No such file or directory when the password is entered.
This next line also gives an error:
scp [email protected]:/home/pi/\{test1.py,test2.py\} /home/walli
The error is: scp: /home/pi/{test1.py,test2.py}: No such file or directory
Does anyone know how to copy multiple files and only require the password to be entered once?
Thanks,
Wallis