cmdsync

package
v0.20.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package cmdsync implements the "ffs sync" subcommand.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.C{
	Name: "sync",
	Usage: `@<file-key>[/path/...] ...
<root-key>[/path/...] ...`,
	Help: `Synchronize file trees between stores.

Transfer all the objects reachable from the specified file or root paths
from one store into another. If --to=target is set, objects are copied
from --store to the specified target; if --from=source is set, objects are
copied from source to the --store. Exactly one of --to and --from must
be set.

By default, an argument that specifies a plain root name causes that root
(and its index, if one exists) to be copied along with the files reachable
from it. Use --no-root to skip copying the root and index, and only copy its
file tree.
`,

	SetFlags: command.Flags(flax.MustBind, &syncFlags),
	Run:      command.Adapt(runSync),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL