desync(1)
πΈ desync(1) β no literally bestie, this is the prune page π
Okay so real talk: the man page header says desync(1) (that's the family name, the whole desync squad π«Ά), and this specific page is all about desync-prune. Yes, the pruning one. The "delete the stuff nobody's using" one. Buckle up π
β¨ NAME β¨
desync-prune β remove unreferenced chunks from a store π§Ήπ
β SYNOPSIS β
desync prune <index> [<index>...] [flags]
π¦ DESCRIPTION π¦
So here's the vibe: desync reads chunk IDs out of your index files, then deletes every chunk from a store that isn't referenced in any of the index files you handed it. That's it. That's the whole job. Iconic.
β οΈ Heads up bestie β this is a destructive operation. Like, chunks-gone-forever destructive. So by default you get a confirmation prompt before any chunks get yeeted, unless you pass--yes. (Use--yesresponsibly, iykyk π)
Also! You can pass - to read a single index from STDIN. Lowkey handy. π
π OPTIONS π
--ca-cert=""β trust authorities listed in this file instead of the OS trust store π-r,--cache-repair[=true]β replace invalid chunks in the cache from source β¨--client-cert=""β path to the client certificate for TLS authentication π--client-key=""β path to the client key for TLS authentication π-n,--concurrency=10β number of concurrent goroutines. Set it to-1and let desync choose for you: the number of CPUs for chunking and hashing, adapting to each store up to128for transfers β‘-e,--error-retry=3β how many times to retry when a network error happens π-b,--error-retry-base-interval=500msβ the initial retry delay, which increases linearly with each subsequent attempt β³-h,--help[=false]β help forpruneπ«Ά-s,--store=""β the store you wanna prune ποΈ-t,--trust-insecure[=false]β trust invalid certificates (yes, that's what it says π)-y,--yes[=false]β do NOT ask for confirmation before deleting chunks. main character energy, use with care π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--config=""β config file (default$HOME/.config/desync/config.json)--digest="sha512-256"β digest algorithm, eithersha512-256orsha256--verbose[=false]β verbose mode π£οΈ
π₯ EXAMPLE π₯
desync prune -s /path/to/local --yes file.caibx
desync prune -s /path/to/local current.caibx previous.caibx
First one: prune with zero questions asked (--yes, bold of you). Second one: prune using two index files at once so it keeps anything referenced by current.caibx or previous.caibx. Slay πΈ
π SEE ALSO π
desync(1) β go say hi to the parent page, it misses you π
π HISTORY π
20-Oct-2026 Auto generated by spf13/cobra β yeah, the robots made this one π€β¨
And that's the whole page, bestie β you're officially a prune girlie now π§ββοΈπ
Sign-off time: this was desync, Oct 2026 vintage, filed under desync(1) π
π¦ where this page comes from
- arch rolling: desync 1.1.5-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms