This tutorial walks through a first small scan so you can understand what the crawler is doing without indexing an entire machine immediately.
./scripts/build.sh --run-tests
For your first run, scan a small location such as your home directory:
mkdir -p /tmp/tusho-demo
touch /tmp/tusho-demo/example.txt
mkdir -p /tmp/tusho-demo/folder
./scripts/run_crawler.sh \
--database-path /tmp/tusho-demo/catalog.sqlite3 \
--crawl-root /tmp/tusho-demo \
--log-file-path /tmp/tusho-demo/crawler.jsonl \
--rebuild-database
You can inspect the SQLite database directly:
sqlite3 /tmp/tusho-demo/catalog.sqlite3 "SELECT entry_type, entry_name, absolute_path FROM file_system_entries ORDER BY absolute_path;"
You can inspect the logs:
cat /tmp/tusho-demo/crawler.jsonl | jq .
file_system_entries.