Command Reference
Complete reference for all FileFortress CLI commands

This page provides an overview of all available FileFortress CLI commands. Click on any command to view detailed documentation including syntax, parameters, options, and examples.

Command Syntax

All commands follow the pattern: filefortress [global-options] [command] [subcommand] [options]

Use filefortress --help or filefortress [command] --help for quick help.

Interactive by Default

Most FileFortress commands run in interactive mode by default for the best user experience. Use --non-interactive when you need scripted or automated usage.

Available Commands

Command Description Skill Level Details
setup
Recommended
Complete interactive setup: initialize device, connect cloud storage, and scan files - all in one command. New users start here! Beginner View Details
init Initialize and register your device with FileFortress (device initialization only) Beginner View Details
reinit Re-register your device if it was accidentally removed from the web portal Beginner View Details
device Manage your device: view information, enable/disable, refresh profile, change password, and remove device Beginner View Details
remotes Manage cloud storage connections (add, list, remove, scan) Beginner View Details
search
Metadata
Quickly search files by term with advanced filters and metadata predicates Beginner View Details
find
Metadata
Advanced file queries with metadata filtering, saved queries, and complex criteria Intermediate View Details
ls
Metadata
List files and folders with filtering, sorting, and interactive browsing Beginner View Details
update Update the FileFortress CLI to the latest version Beginner View Details
feedback Submit feedback and view your previous submissions Beginner View Details

Global Options

These options can be used with any command and must be specified before the command name.

Option Description Example
--password Password for database encryption (required if you set a custom password during init) filefortress --password mySecret remotes list
--key-file Path to private key file containing the password (alternative to --password) filefortress --key-file ~/filefortress.key remotes list
Password Authentication

FileFortress supports two authentication modes:

  • Automatic Encryption (Default): Uses machine-specific encryption, no password required
  • Custom Password: Uses your custom password, must provide --password or --key-file with every command

You cannot use both --password and --key-file options simultaneously.

Quick Links

Getting Started
New to FileFortress? Start with our getting started guide.
Quick Recipes
Copy-paste ready command snippets for common tasks.
Workflow Guides
Step-by-step guides for complete workflows.