Skip to Content
CLICommand reference

CLI command reference

Use flashdrive --help for the top-level list and a command’s --help for its options. These commands use the selected profile and saved workspace or drive unless you supply an explicit global flag.

TaskCommand
Sign in / check account / sign outflashdrive login, flashdrive whoami, flashdrive logout
Check or install an updateflashdrive update --check, flashdrive update
Read saved settingsflashdrive config list
Choose a profileflashdrive config use PROFILE
List or select workspacesflashdrive workspace list, flashdrive workspace use WORKSPACE_ID
List, create, or select drivesflashdrive drive list, flashdrive drive create NAME, flashdrive drive use DRIVE_ID
Inspect drive files and capacityflashdrive drive usage, flashdrive storage, flashdrive limits
Upload files or a folderflashdrive upload PATH, add --recursive for a folder
Check or resume a transferflashdrive upload status UPLOAD_ID, flashdrive upload resume RUN_ID --wait
List files or match pathsflashdrive file list, flashdrive file glob PATTERN
Read text or download a fileflashdrive file read FILE_ID, flashdrive file get FILE_ID DESTINATION
Create folder pathsflashdrive folder ensure PATH
Move or rename a fileflashdrive document move FILE_ID --to FOLDER_ID --name NAME --expected-revision REVISION
Search words or a phraseflashdrive fulltext QUERY, add --phrase for exact phrases
Search matching linesflashdrive grep PATTERN
Mount / inspect / unmountflashdrive mount --at DIRECTORY, flashdrive mounts, flashdrive unmount DIRECTORY
Keep dependency paths localflashdrive mount-excludes list, flashdrive mount-excludes add DIRECTORY
Check an accepted operationflashdrive operation status OPERATION_ID --wait

Scope a command

Global flags can appear before or after the command:

flashdrive --profile work --drive DRIVE_ID file list

Use --workspace, --drive, or --folder when the task needs that scope. --base-url selects an explicit API origin for the command. See profiles and credentials before using a different connection.

For practical examples, start with installation and first use, uploads, mounted files, or error recovery.