Commit Graph
15 Commits
Author SHA1 Message Date
Jan Bader 3b91a26b2c feat: mount lazyly 2026-09-19 23:36:10 +02:00
Jan Bader 5e88eaea97 Add export command and shared item tree
Introduces a pure, FUSE-independent item tree (buildItemTree) shared by the mount and export commands. The new export subcommand downloads Docspell search results into a local directory, mirroring the mount's friendly folder/year/month hierarchy without the by-id directory or metadata JSON file, for archival or migration.

- itemtree.go: pure item tree builder shared by mount and export
- mount.go: buildMountTree now converts the pure tree into FUSE nodes, with a shared fileNode per attachment across friendly and by-id paths
- export.go: export command with concurrent downloads, --dry-run, --skip-existing, --concurrency, --query, --limit, --auth-header
- main.go: wires up the export subcommand and its flags
- export_test.go: tests for plan collection, writes, skip-existing, failures, modtime
- README.md: documents the export command
2026-07-21 23:35:03 +02:00
Jan Bader c4a2e9d085 Replace dsc import calls with Docspell API 2026-07-20 20:48:08 +02:00
Jan Bader 608dc99c45 Remove legacy config path handling 2026-07-20 20:45:09 +02:00
Jan Bader 12aa0d4e21 Move config file to XDG config dir 2026-07-20 20:41:24 +02:00
Jan Bader 882027f622 Move import flow behind subcommand 2026-07-20 20:34:49 +02:00
Jan Bader aaf7be0b90 Rename get-local-path subcommand to get-path 2026-07-20 20:30:36 +02:00
Jan Bader eda8ba9aab Translate and expand README 2026-07-20 20:30:05 +02:00
Jan Bader fc499af504 Rename project to docspell-cli 2026-07-19 20:28:05 +02:00
Jan Bader 9b5a9899b8 Add configurable mount query 2026-07-19 19:57:35 +02:00
Jan Bader 7edd1b8d7f Add background mount path helpers 2026-07-19 19:48:49 +02:00
Jan Bader 952d3d8532 Add read-only Docspell FUSE mount 2026-07-13 22:58:59 +02:00
jacob1123 fae750d702 doc: rename app 2025-01-03 00:32:30 +01:00
jacob1123 d3da26e2b2 doc: link to example config 2025-01-03 00:31:17 +01:00
Jan Bader 6e53b0cf51 doc: add readme 2025-01-03 00:29:32 +01:00