desync(1)
β¨ NAME β¨
desync-cache β Read indexes and copy the referenced chunks π okay bestie, this is the desync(1) page, and this command is lowkey here to copy chunks without assembling blobs, no cap.
πΈ SYNOPSIS πΈ
desync cache <index> [<index>...] [flags]
That's the shape of it, bestie β <index> can repeat, and [flags] is where all the options live β¨
π¦ DESCRIPTION π¦
Okay so picture this: desync cache reads chunk IDs from one or more index files (caibx or caidx) and copies the referenced chunks from the source store(s) into the target store you give it with -c. It does this without assembling any blob on disk β not me being dramatic, that's literally the point, periodt. This can be used to pre-populate a cache, or to replicate the chunks referenced by indexes into another store. Use - to read (a single) index from STDIN π
To exclude chunks that are known to exist in the target store already, use --ignore <index> β it will skip any chunks from the given index. The same can be achieved by providing the chunks in their ASCII representation in a text file with --ignore-chunks <file>. iykyk π«Ά
π OPTIONS π
--ca-cert=""β trust authorities in this file, instead of OS trust store π-c,--cache=""β target store the chunks are copied to π―-r,--cache-repair[=true]β replace invalid chunks in the cache from source π©Ή--client-cert=""β path to client certificate for TLS authentication π--client-key=""β path to client key for TLS authentication π-n,--concurrency=10β number of concurrent goroutines,-1to let desync choose: the number of CPUs for chunking and hashing, adapting to each store up to128for transfers β‘-e,--error-retry=3β number of times to retry in case of network error π-b,--error-retry-base-interval=500msβ initial retry delay, increases linearly with each subsequent attempt β³-h,--help[=false]β help for cache π--ignore=[]β index(es) with chunks to be excluded π ββοΈ--ignore-chunks=[]β text file with chunk IDs to be excluded π-s,--store=[]β source store(s) π¬-t,--trust-insecure[=false]β trust invalid certificates π¨
𧬠OPTIONS INHERITED FROM PARENT COMMANDS π§¬
--config=""β config file (default$HOME/.config/desync/config.json) π οΈ--digest="sha512-256"β digest algorithm,sha512-256orsha256π§ͺ--verbose[=false]β verbose mode π£οΈ
π EXAMPLE π
Run it like this, bestie:
desync cache -s http://192.168.1.1/ -c /path/to/local file.caibx
π SEE ALSO π
desync(1) β go read that too, bestie π
π HISTORY π
20-Oct-2026 Auto generated by spf13/cobra
π cute little sign-off: source/version desync, date Oct 2026, manual name desync(1) β bye bestie, mwah πβ¨
π¦ 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