desync(1)

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

🌸 NAME 🌸

okay bestie, this page is desync-chop, and it lives under the desync(1) manual β€” it’s literally β€œRead chunks from a file according to an index” ✨

✨ SYNOPSIS ✨

desync chop <index> <file> [flags]

πŸ’– DESCRIPTION πŸ’–

So what it does: it reads the <index> and extracts all referenced chunks from the <file> into a store β€” local or remote, whichever vibe you’re on πŸ’…

It does not modify the input file or the index in any way. No cap. It’s used to populate a chunk store by chopping up a file according to an existing index πŸŽ€

If you wanna exclude chunks that are already known to exist in the target store, use --ignore <index> β€” that skips any chunks from the given index. Same energy can be achieved by providing the chunks in their ASCII representation in a text file with --ignore-chunks <file> πŸ¦‹

And yes: use - to read the index from STDIN πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • --ca-cert="" β€” trust authorities 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 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 chop
  • --ignore=[] β€” index(es) with chunks to be excluded πŸ™ˆ
  • --ignore-chunks=[] β€” text file with chunk IDs to be excluded
  • -s, --store="" β€” target store πŸ“
  • -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 πŸ”₯

desync chop -s sftp://192.168.1.1/store file.caibx largefile.bin

πŸ’œ SEE ALSO πŸ’œ

🌈 HISTORY 🌈

  • 20-Oct-2026 Auto generated by spf13/cobra

this whole page is from the desync manual, dated Oct 2026, and it’s out here repping desync(1) like the main character it is πŸ’…βœ¨

πŸ“¦ where this page comes from