Issue
I need to download folders from amazon web services (aws) EC2. How can I do that using wget command? I am on Ubuntu and have installed aws-cli.
id='dv3'>
Solution
You can use wget
only if the folder id web-accessible, you must know the path to the folder then (http://domain.com/path/to-folder
)
If it is not web accessible you can use scp
or rsync
to get the content, e.g:
rsync -e 'ssh -i /path/to/key.pem' -av [email protected]:~/from/ /local/path/to/
Make sure 'from' is really correct path.
Also, you may want to set up sFTP and use it as well.
Answered By - Putnik Answer Checked By - David Goodson (WPSolving Volunteer)