Quick Recipes

Copy-paste ready command snippets for common tasks

How to Use

Simply copy the command and paste it into your terminal. Modify the parameters as needed for your specific use case.

Search Recipes

Find all PDFs modified this month

filefortress search "*.pdf" --modified-after "1 month ago"

Search photos by camera make

filefortress search "*.jpg" --meta "exif.cameraMake=Canon"

Find large files across all remotes

filefortress search "*" --size-min 100MB

Search for documents containing specific text

filefortress search "invoice" --media-type documents

Find files in a specific remote

filefortress search "report" --remote "my-drive"

Search with natural language (AI)

filefortress ai "large photos from google drive last year" --explain

Add --explain to see how your query is interpreted before the search runs. Requires a configured AI provider.

Remote Management Recipes

List all connected remotes

filefortress remotes list

Add a new remote

filefortress remotes add local

Pick the subcommand for your provider (e.g. local, s3, gdrive, onedrive, backblaze). Or run filefortress setup for the guided interactive flow.

Scan a specific remote

filefortress remotes scan my-drive

Scan all remotes

filefortress remotes scan --all

Scans all configured remotes sequentially.

View remote details

filefortress remotes info my-drive

Enrich files using the provider API

filefortress remotes enrich --remote my-drive

Fetches extra metadata from the cloud provider's API without downloading the files.

File Browsing Recipes

List files in a specific folder

filefortress ls "/Documents/Projects"

Browse files interactively

filefortress ls

List files sorted by size

filefortress ls --sort size --reverse

List only folders

filefortress ls --folders-only

Maintenance Recipes

Update CLI to latest version

filefortress update

Submit feedback

filefortress feedback create --title "Great tool" --content "Loving the search feature"

Check device information

filefortress device info

Advanced Recipes

Find duplicate files by hash

filefortress find duplicates --hash-verified-only

Search with multiple metadata filters

filefortress search "*.jpg" --meta "image.width>=1920" --meta "image.height>=1080"

Export search results to JSON

filefortress search "*.pdf" --view json --save-to-file results.json

List all duplicate files

filefortress find duplicates

Preview removing duplicates (safe — deletes nothing)

filefortress duplicates remove --keep-strategy oldest

Enrich files with local tools

filefortress tools run --media-type images

Downloads matching files and runs local tools (such as exiftool and ffmpeg) to extract richer metadata.

Need More Detail?

Explore comprehensive guides and documentation: