File Management

Synopsis

$ xvc file --help
File and directory management commands

Usage: xvc file [OPTIONS] <COMMAND>

Commands:
  track     Add file and directories to Xvc
  hash      Get digest hash of files with the supported algorithms
  recheck   Get files from cache by copy or *link
  carry-in  Carry (commit) changed files to cache
  copy      Copy from source to another location in the workspace
  move      Move files to another location in the workspace
  list      List tracked and untracked elements in the workspace
  send      Send (push, upload) files to external storages
  bring     Bring (download, pull, fetch) files from external storages
  remove    Remove files from Xvc and possibly storages
  untrack   Untrack (delete) files from Xvc and possibly storages
  share     Share a file from S3 compatible storage for a limited time
  help      Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose...         Verbosity level. Use multiple times to increase command output detail
      --quiet              Suppress error messages
  -C <WORKDIR>             Set the working directory to run the command as if it's in that directory [default: .]
  -c, --config <CONFIG>    Configuration options set from the command line in the form section.key=value
      --no-system-config   Ignore system config file
      --no-user-config     Ignore user config file
      --no-project-config  Ignore project config (.xvc/config)
      --no-local-config    Ignore local config (.xvc/config.local)
      --no-env-config      Ignore configuration options from the environment
  -h, --help               Print help
  -V, --version            Print version

Subcommands

  • track: Track (add) files with Xvc
  • recheck: Copy/link files in the cache to the workspace (checkout)
  • carry-in: Carry-in (commit) changed files to cache
  • copy: Copy files to another location in the workspace
  • move: Move files to another location in the workspace
  • list: List tracked files
  • send: Send (push
  • ) files to storage
  • bring: Bring (pull) files from storage
  • hash: Calculate hashes with supported algorithms similar to sha256sum, blake2sum, etc.
  • remove: Remove files from Xvc cache or storages
  • untrack: Untrack (delete) files from Xvc