1

In sftp, put * or get * do not get the hidden files or directories inside a dir.

What to do if I want to use sftp to copy entire dir, along with the subdirs that are hidden?

For example, a .git directory inside the directory. I do not require the scp commands. How to do that in a sftp shell?

1 Answers1

6

Use -r switch

sftp> get -r folder/
Kride
  • 1,149