filesystem:upload#

Upload files from your local machine to a cloud file system 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:upload [options]

Example

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

Options

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

--filesystem=FILESYSTEM, -f FILESYSTEM

The ID or name of the file system to which files will be uploaded. Run filesystem:list for 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 on your local machine from which files will be uploaded. The command fails if this path does not exist.

--destination=DESTINATION

The path on the file system to which files will be uploaded. Any missing parent directories are created for you.