Forrest logo
back to the scp tool

scp:ai:a3f49

How do i download several folders
$ scp -r user@remote_host:/path/to/source/directory /path/to/destination/directory
try on your machine

Use the scp command to securely copy directories and their contents recursively from a remote host to a local directory

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • How do i download several folders?
back to the scp tool