hi all
in my script i was using the "scp" command to copy 2 files from a certain directory on server A to the same directory on another server B, but for some reason its only copying the first file in the directory. This is the frst time that i used the scp command,any ideas appreciated.
Are you sure you used the correct syntax, maybe a typo?
I got no problem using scp for multiple files, for example if you're in server A, in the directory where you're going to copy the files from you can use: