Search files and keep sources
FlashDrive searches the text of your files by words, exact phrases, and patterns. Keyword search is on for every drive.
Search for words or an exact phrase
Choose the drive that contains the material, then search for the words you expect to find:
flashdrive --drive DRIVE_ID fulltext 'refund policy'
flashdrive --drive DRIVE_ID fulltext 'refund policy' --phrasefulltext finds passages containing every word. --phrase looks for that exact phrase. Each result names the file path and, for a content match, the line, so you can keep the reference with your answer and read the source when accuracy matters.
Find matching lines
flashdrive grep 'refund|return' --glob '**/*.md' -C 1This searches matching Markdown paths with a regular expression and includes one line of context around a match. Patterns do not support look-around or backreferences. -C accepts 0 through 5.
Narrow the search
flashdrive --folder FOLDER_ID fulltext 'exception approval' --glob '**/*.md' --limit 10Use a known folder ID or a path pattern to focus the search. A result’s cursor lets you continue with --cursor CURSOR. Use --limit to choose a smaller page of results.
When expected content is missing
Check flashdrive file list and the file’s processing status. A stored file can still be waiting for indexing, and recent changes can take a moment to appear in results. Confirm your selected drive and permissions before changing the query.
See uploads for storage and progress, and errors for refused requests or timeouts.