On machine A I have the folder
On machine B I have the folder
I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried the commands:
sftp fibon82@machineB.com put /home/a/* /home/b/
but it doesn't work, i get the error message: "skipping non-regular file /home/a/a1"... [a1 is a sub-directory of a]
How could I modify the put instruction?
I solved using scp:
scp -r /home/a/ fibon82@machineB.com:/home/b/