I have an SFTP server with the following directories:
dir1
test_results
templates
How can I get everything inside these directories as is to my local?
I tried:
get -r dir1 test_results templates
But it is considering the test_results as a directory in side the local machine and put the dir1 inside it.
Can someone help me?