get
A special case of cp that copies a DSEFS remote file to the local file system. If a relative source path is given, it is resolved in the last DSEFS working directory, regardless of the current working directory. Similarly, if a relative destination path is given, it is always resolved in the last local working directory. Filepaths can be absolute and can point to any file system.
Synopsis
get <source_filepath> <destination_filepath>
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
<`Italics>` |
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
Definition
The short form and long form parameters are comma-separated.
Command arguments
- destination_filepath
-
Explicit or relative filepath.
-
If destination path ends with name, destination entry is given that name.
-
If the destination path ends with a backslash (
/
), original source file name is used. -
Wildcard characters are supported.
-
Explicit file system prefixes
dsefs:
andfile:
are supported. -
..
is the parent directory.
-
- source_filepath
-
Explicit or relative filepath.
-
Wildcard characters are supported.
-
Explicit file system prefixes
dsefs:
andfile:
are supported. -
..
is the parent directory.
-
Examples
Copy DSEFS remote file to local filesystem
dsefs dsefs://127.0.0.1:5598/ > dsefs / > get archive.tgz local_archive.tgz