.nh .TH "desync" "1" "Sep 2026" "desync" "" .SH NAME desync-make - Chunk input file and create index .SH SYNOPSIS \fBdesync make [flags]\fP .SH DESCRIPTION Creates chunks from the input file and builds an index. If a chunk store is provided with -s, such as a local directory or S3 store, it splits the input file according to the index and stores the chunks. Use '-' to write the index to STDOUT. .SH OPTIONS \fB--ca-cert\fP="" trust authorities in this file, instead of OS trust store .PP \fB-r\fP, \fB--cache-repair\fP[=true] replace invalid chunks in the cache from source .PP \fB-m\fP, \fB--chunk-size\fP="16:64:256" min:avg:max chunk size in kb .PP \fB--client-cert\fP="" path to client certificate for TLS authentication .PP \fB--client-key\fP="" path to client key for TLS authentication .PP \fB-n\fP, \fB--concurrency\fP=10 number of concurrent goroutines .PP \fB-e\fP, \fB--error-retry\fP=3 number of times to retry in case of network error .PP \fB-b\fP, \fB--error-retry-base-interval\fP=500ms initial retry delay, increases linearly with each subsequent attempt .PP \fB-h\fP, \fB--help\fP[=false] help for make .PP \fB--print-stats\fP[=false] print chunking statistics to stderr when done .PP \fB-s\fP, \fB--store\fP="" target store .PP \fB-t\fP, \fB--trust-insecure\fP[=false] trust invalid certificates .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--config\fP="" config file (default $HOME/.config/desync/config.json) .PP \fB--digest\fP="sha512-256" digest algorithm, sha512-256 or sha256 .PP \fB--verbose\fP[=false] verbose mode .SH EXAMPLE .EX desync make -s /path/to/local file.caibx largefile.bin desync make -m 8:32:128 - largefile.bin > file.caibx .EE .SH SEE ALSO \fBdesync(1)\fP .SH HISTORY 5-Sep-2026 Auto generated by spf13/cobra