desync(1)
πΈ 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,-1to letdesyncchoose: 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 forchop--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-256orsha256--verbose[=false]β verbose mode π
π₯ EXAMPLE π₯
desync chop -s sftp://192.168.1.1/store file.caibx largefile.bin
π SEE ALSO π
π HISTORY π
20-Oct-2026Auto generated byspf13/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
- 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