A CLI tool to interact with yout Internxt encrypted files
You can install the Internxt CLI by using NPM:
Requires Node >= 20.0.0
npm i -g @internxt/cli
View Internxt CLI latest release here
$ npm install -g @internxt/cli
$ internxt COMMAND
running command...
$ internxt (--version)
@internxt/cli/1.2.1 darwin-arm64 node-v20.14.0
$ internxt --help [COMMAND]
USAGE
$ internxt COMMAND
...
internxt add-cert
internxt config
internxt create-folder
internxt download
internxt list
internxt login
internxt logout
internxt logs
internxt move
internxt trash
internxt upload
internxt webdav ACTION
internxt whoami
Add a self-signed certificate to the trusted store for macOS, Linux, and Windows.
USAGE
$ internxt add-cert
DESCRIPTION
Add a self-signed certificate to the trusted store for macOS, Linux, and Windows.
EXAMPLES
$ internxt add-cert
See code: src/commands/add-cert.ts
Display useful information from the user logged into the Internxt CLI.
USAGE
$ internxt config [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
[--output csv|json|yaml | | ] [--sort <value>]
FLAGS
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
DESCRIPTION
Display useful information from the user logged into the Internxt CLI.
EXAMPLES
$ internxt config
See code: src/commands/config.ts
Create a folder in your Internxt Drive
USAGE
$ internxt create-folder --name <value> [--id <value>]
FLAGS
--id=<value> The folder id to create the folder in, defaults to your root folder
--name=<value> (required) The new folder name
DESCRIPTION
Create a folder in your Internxt Drive
EXAMPLES
$ internxt create-folder
See code: src/commands/create-folder.ts
Download and decrypts a file from Internxt Drive to a directory. The file name will be the same as the file name in your Drive
USAGE
$ internxt download --id <value> --directory <value> [--overwrite]
FLAGS
--directory=<value> (required) The directory to download the file to.
--id=<value> (required) The id of the file to download. Use internxt list to view your files ids
--overwrite Overwrite the file if it already exists
DESCRIPTION
Download and decrypts a file from Internxt Drive to a directory. The file name will be the same as the file name in
your Drive
EXAMPLES
$ internxt download
See code: src/commands/download.ts
Lists the content of a folder id.
USAGE
$ internxt list [-n] [-f <value>] [--columns <value> | -x] [--filter <value>] [--no-header | [--csv |
--no-truncate]] [--output csv|json|yaml | | ] [--sort <value>]
FLAGS
-f, --id=<value> The folder id to list. Leave empty for the root folder.
-x, --extended show extra columns
--columns=<value> only show provided columns (comma-separated)
--csv output is csv format [alias: --output=csv]
--filter=<value> filter property by partial string matching, ex: name=foo
--no-header hide table header from output
--no-truncate do not truncate output to fit screen
--output=<option> output in a more machine friendly format
<options: csv|json|yaml>
--sort=<value> property to sort by (prepend '-' for descending)
HELPER FLAGS
-n, --non-interactive Blocks the cli from being interactive. If passed, the cli will not request data through the
console and will throw errors directly
DESCRIPTION
Lists the content of a folder id.
EXAMPLES
$ internxt list
See code: src/commands/list.ts
Logs into an Internxt account. If the account is two-factor protected, then an extra code will be required.
USAGE
$ internxt login [-n] [-e <value>] [-p <value>] [-w <value>]
FLAGS
-e, --email=<value> The email to log in
-p, --password=<value> The plain password to log in
-w, --twofactor=123456 The two factor auth code (only needed if the account is two-factor protected)
HELPER FLAGS
-n, --non-interactive Blocks the cli from being interactive. If passed, the cli will not request data through the
console and will throw errors directly
DESCRIPTION
Logs into an Internxt account. If the account is two-factor protected, then an extra code will be required.
EXAMPLES
$ internxt login
See code: src/commands/login.ts
Logs out the current internxt user that is logged into the Internxt CLI.
USAGE
$ internxt logout
DESCRIPTION
Logs out the current internxt user that is logged into the Internxt CLI.
EXAMPLES
$ internxt logout
See code: src/commands/logout.ts
Displays the Internxt CLI logs directory path
USAGE
$ internxt logs
DESCRIPTION
Displays the Internxt CLI logs directory path
EXAMPLES
$ internxt logs
See code: src/commands/logs.ts
Move a folder/file into a destination folder.
USAGE
$ internxt move [-n] [-i <value>] [-d <value>]
FLAGS
-d, --destination=<value> The destination folder id where the item is going to be moved.
-i, --id=<value> The item id to be moved (it can be a file id or a folder id).
HELPER FLAGS
-n, --non-interactive Blocks the cli from being interactive. If passed, the cli will not request data through the
console and will throw errors directly
DESCRIPTION
Move a folder/file into a destination folder.
EXAMPLES
$ internxt move
See code: src/commands/move.ts
Moves a given folder/file to the trash.
USAGE
$ internxt trash [-n] [-i <value>]
FLAGS
-i, --id=<value> The item id to be trashed (it can be a file id or a folder id).
HELPER FLAGS
-n, --non-interactive Blocks the cli from being interactive. If passed, the cli will not request data through the
console and will throw errors directly
DESCRIPTION
Moves a given folder/file to the trash.
EXAMPLES
$ internxt trash
See code: src/commands/trash.ts
Upload a file to Internxt Drive
USAGE
$ internxt upload --file <value> [--json] [--id <value>]
FLAGS
--file=<value> (required) The path to read the file in your system
--id=<value> The folder id to upload the file to
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Upload a file to Internxt Drive
EXAMPLES
$ internxt upload
See code: src/commands/upload.ts
Enable,disable, restart or get the status of the Internxt CLI WebDav server
USAGE
$ internxt webdav ACTION
DESCRIPTION
Enable,disable, restart or get the status of the Internxt CLI WebDav server
EXAMPLES
$ internxt webdav enable
$ internxt webdav disable
$ internxt webdav restart
$ internxt webdav status
See code: src/commands/webdav.ts
Display the current user logged into the Internxt CLI.
USAGE
$ internxt whoami
DESCRIPTION
Display the current user logged into the Internxt CLI.
EXAMPLES
$ internxt whoami
See code: src/commands/whoami.ts
- We currently have a 5GB size upload limitation per file for both, CLI and WebDAV