scp
Verified for current stable LTS
Scp Command: Recursively Copy Directory From Remote Host To Local Directory
Use for recursively copy directory from remote host to local directory with Scp. Exact CLI syntax to recursively copy directory from remote host to local directory using Scp.
When to use this: Use for recursively copy directory from remote host to local directory with Scp.
Destructive Command Warning
Destructive operation. Confirm the target path and keep a backup before executing.
Command Syntax
scp -r <remote_host>:<path/to/remote_directory> <path/to/local_directory> scp -r <remote_host>:<path/to/remote_directory> <path/to/local_directory> Live Command Builder
Final Command
scp -r <remote_host>:<path/to/remote_directory> <path/to/local_directory> Command Breakdown
-r- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to recursively copy directory from remote host to local directory using Scp.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Scp Command: Copy File Between Two Remote Hosts Via Local Host
scp -3 <host1>:<path/to/remote_file> <host2>:<path/to/remote_directory> Scp Command: Copy File From Remote Host To Local Directory scp <remote_host>:<path/to/remote_file> <path/to/local_directory> Scp Command: Copy Local File To Remote Host scp <path/to/local_file> <remote_host>:<path/to/remote_file> Scp Command: Copy Local File To Remote Host Using Specific Username scp <path/to/local_file> <remote_username>@<remote_host>:<path/to/remote_directory> Scp Command: Copy Local File Using Specific Port scp -P <port> <path/to/local_file> <remote_host>:<path/to/remote_file>