Linux how to download a folder from command line – what's the easiest way? or What’s the best command

22 Replies, 939 Views

Hey! For linux how to download a folder from command line, `scp` is your best bet if it's on a remote server.

Just do:
`scp -r username@remote:/path/to/folder /local/path`

The `-r` flag makes it recursive, so it grabs the whole folder. Super easy!

If you're downloading from a web server, `wget` can work but yeah, you might need to zip it first.

Messages In This Thread



Users browsing this thread: 1 Guest(s)