Dude, `curl` won’t do folders well, but for linux how to download a folder from command line, `tar` + `ssh` is a slick combo:
`ssh user@remote "tar czf - /path/to/folder" | tar xzvf - -C /local/path`
This tars the folder on the fly and extracts it locally. No temp files!
`ssh user@remote "tar czf - /path/to/folder" | tar xzvf - -C /local/path`
This tars the folder on the fly and extracts it locally. No temp files!
