get Verified current stable Not installed? Data Processing

Get / Transfer Remote Directory Recursively

Transfer Remote Directory Recursively

Copy a remote directory and its contents to the local environment recursively.

$
Terminal
get -R <path/to/remote_directory>

When To Use

When needing a complete set of data including subdirectories from a remote server.

Pro Tip

Ensure adequate local storage before initiating recursive transfers to prevent failures.

Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
get -R <path/to/remote_directory>

Anatomy of Output

Understanding the result

Transferring: remote/example_directory → local/example_directory Transfer Summary

Displays source and destination of the transfer.

Total items: 32, transferred: 32, skipped: 0. Transfer Metrics

Detailed count of items involved in the transfer.

Transfer completed in 3.120 seconds. Performance Metrics

Duration of the entire transfer operation.

Power User Variants

Optimized versions

get -R -P remote_directory

Retrieve directory using a non-standard port.

get --no-symlinks remote_directory

Transfer without following symbolic links.

Troubleshooting

Common pitfalls

Error: No such directory on the remote server.

Solution: Verify that the remote directory path exists.

Error: Permission denied for accessing the remote directory.

Solution: Check permissions for the remote directory on the server.

Error: Disk quota exceeded during transfer.

Solution: Clear space in the local destination before retrying.

Command Breakdown

What each part is doing

get
Base Command
The executable that performs this operation. Here it runs Get before the shell applies any redirect operators.
<path/to/remote_directory>
path to remote directory
The directory path supplied to this command.
-R
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative data processing tools for the same job.