desync(1)

πŸ“¦
version 1.1.5 Β· 3 versions
, in arch rolling

✨ 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, -1 to let desync choose: the number of CPUs for chunking and hashing, adapting to each store up to 128 for 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-256 or sha256 πŸ§ͺ
  • --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