desync(1)

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

🌸 NAME 🌸

okay bestie, welcome to the desync(1) page for desync-tar β€” Store a directory tree in a catar archive or index. It’s giving archive girlie with index-file potential, and we’re obsessed. ✨

✨ SYNOPSIS ✨

desync tar <catar|index> <source> [flags]

πŸ’« DESCRIPTION πŸ’«

So here’s the tea: desync tar encodes a directory tree into a catar archive, or alternatively into an index file with the archive chunked into a store. Use - to write the output β€” catar or index β€” to STDOUT. Periodt. πŸ’…

If the desired output is an index file (caidx) rather than a catar, you can provide the -i option as well as a store. Using -i is equivalent to first using the tar command to create a catar, then the make command to chunk it into a store and produce an index file. With -i, less disk space is required as no intermediary catar is created. There can however be a difference in performance depending on file size. Ngl, that part matters. 🫢

By default, input is read from local disk. Using --input-format=tar, the input can be a tar file or a stream from STDIN with -. Slay. 🌟

πŸŽ€ OPTIONS πŸŽ€

No skipped flags, fr fr:

  • --ca-cert="" β€” trust authorities in this file, instead of OS trust store. πŸ”
  • -r, --cache-repair[=true] β€” replace invalid chunks in the cache from source.
  • -m, --chunk-size="16:64:256" β€” min:avg:max chunk size in kb.
  • --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 tar.
  • -i, --index[=false] β€” create index file (caidx), not catar.
  • --input-format="disk" β€” input format, 'disk' or 'tar'.
  • --no-time[=false] β€” set file timestamps to zero in the archive.
  • -x, --one-file-system[=false] β€” don't cross filesystem boundaries.
  • -s, --store="" β€” target store (used with -i).
  • --tar-add-root[=false] β€” pretend that all tar elements have a common root directory.
  • -t, --trust-insecure[=false] β€” trust invalid certificates.

🫢 OPTIONS INHERITED FROM PARENT COMMANDS 🫢

These are inherited from the parent commands, not invented by tar:

  • --config="" β€” config file (default $HOME/.config/desync/config.json).
  • --digest="sha512-256" β€” digest algorithm, sha512-256 or sha256.
  • --verbose[=false] β€” verbose mode.

🌈 EXAMPLE 🌈

Copy-paste core, bestie:

desync tar documents.catar $HOME/Documents
desync tar -i -s /path/to/local pics.caidx $HOME/Pictures

πŸ¦‹ SEE ALSO πŸ¦‹

  • desync(1) β€” the parent page, go say hi. 🫢

πŸ“œ HISTORY πŸ“œ

  • 20-Oct-2026 β€” Auto generated by spf13/cobra.

πŸŽ€ source/version desync, dated Oct 2026, manual desync(1) β€” okay bye bestie, mwah! πŸ’‹

πŸ“¦ where this page comes from