filesystem:download#

Download files from a file system to your local machine using SCP.

This command works only on Linux and macOS and only if you have added an SSH key to your account.

Hint

As an alternative to running this command, you can run SCP directly on any operating system.

Usage

horizon filesystem:download [options]

Examples

# Download a case directory to the current working directory
horizon filesystem:download --filesystem="Group 1 storage" \
    --source="cases/case1" --destination="."

# Download a case directory to a new Downloads directory
horizon filesystem:download --filesystem="Group 1 storage" \
    --source="cases/case1" --destination="/path/to/Downloads"

Options

This command supports the general CLI options in addition to those listed below.

--filesystem=FILESYSTEM, -f FILESYSTEM

The name or ID of the file system to download from. Run filesystem:list to get a list of file system names and IDs. If you omit this option, you will be prompted to select a file system.

--source=SOURCE

The path within the file system from which files will be downloaded.

--destination=DESTINATION

The path on your local machine to which files will be saved.