cd
The DSEFS shell remembers the last working directory of each file system separately.
The DSEFS prompt identifies the current working directory in DSEFS:
|
Synopsis
cd <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
- filepath
-
Explicit or relative filepath.
-
Wildcard characters are supported.
-
Explicit file system prefixes
dsefs:
andfile:
are supported. -
..
is the parent directory.
-
Examples
Change directory in DSEFS
dsefs dsefs://127.0.0.1:5598/ > cd tmp
dsefs dsefs://127.0.0.1:5598/tmp/ >
Change directory to the last working directory on the local file system
dsefs dsefs://127.0.0.1:5598/ > cd file:/
dsefs file:/home/user1/path/to/local/files
Change directory to the parent directory on the local file system
dsefs file:/home/user1/path/to/local/files > cd ..
dsefs file:/home/user1/path/to/local >
Go back to the last working directory in DSEFS
dsefs file:/home/user1/path/to/local/files > cd dsefs:
dsefs dsefs://127.0.0.1:5598/ >