remotes - Manage Cloud Storage
Connect and manage cloud storage providers
Manage connections to cloud storage providers like Google Drive, OneDrive, Amazon S3, and Backblaze B2.
Subcommands
Add a new cloud storage provider with provider-specific subcommands.
filefortress remotes add gdrive [--name "name"] [--reconfigure]
filefortress remotes add onedrive [--name "name"] [--reconfigure]
filefortress remotes add s3 [--non-interactive --access-key KEY --secret-key SECRET] [options]
filefortress remotes add backblaze [--non-interactive --key-id ID --application-key KEY] [options]
Supports: Google Drive, OneDrive, Amazon S3, and Backblaze B2.
All commands run in interactive mode by default for the best user experience. Use --non-interactive for scripted or automated setup with pre-provided credentials.
Display all connected cloud storage accounts.
filefortress remotes list
Shows name, type, creation date, and last update time for each remote.
Display detailed information about a specific remote (by name or id).
filefortress remotes show <remote_name_or_id>
Display comprehensive storage information including usage statistics.
filefortress remotes info <remote_name_or_id> [--refresh]
Shows account details, storage statistics, scan status, and cached vs live data. Supports Google Drive, OneDrive, Amazon S3, and Backblaze B2. Runs in interactive mode by default for better data exploration.
Remove a connected cloud storage account.
filefortress remotes remove <remote_name_or_id>
Requires confirmation unless cancelled.
Scan connected storage for files and update the index.
filefortress remotes scan <remote_name_or_id>
Fetches file information from the specified remote storage.
Enhance file metadata with additional information like file hashes.
filefortress remotes enrich [--query-name "query_name"]
Can be limited to files matching a specific stored query.
Common Usage Examples
filefortress remotes add gdrive
filefortress --password mySecret remotes add gdrive
filefortress --key-file ~/filefortress.key remotes add s3 --non-interactive --access-key AKIA... --secret-key secret... --bucket my-bucket
filefortress remotes add backblaze
filefortress --password mySecret remotes add backblaze --non-interactive --key-id 0057d6e... --application-key K007...
filefortress remotes list
filefortress --key-file ~/filefortress.key remotes info "My Google Drive" --refresh
filefortress --password mySecret remotes scan "My Google Drive"
filefortress remotes info "My B2 Storage" --refresh