How To Copy A Directory Using sftp

This should not be so hard but here is what I had to do:

  1. get -r dir
  2. locally: mv dir copy_of_dir
  3. mkdir copy_of_dir
  4. put -r copy_of_dir

The remote server complained about Couldn’t fsetstat but it worked.

 

Leave a Reply

%d