LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

dvc-add

track data files with DVC

TLDR

Track a file
$ dvc add [data.csv]
copy
Track a directory
$ dvc add [data/]
copy
Track with external storage
$ dvc add --external [/external/data]
copy

SYNOPSIS

dvc add [options] targets...

DESCRIPTION

dvc add is the fundamental command for bringing data files under DVC version control. When you add a file, DVC computes its hash, moves it to the DVC cache, and creates a lightweight .dvc metadata file in its place.The .dvc file contains the hash and path information needed to retrieve the original file from cache or remote storage. DVC automatically adds the original filename to .gitignore so the large data file isn't committed to Git, only the small .dvc metadata file.This two-file approach allows Git to track data versions (via .dvc file) without storing the actual large files in the repository. The cached data can then be pushed to remote storage for team sharing. Directories are tracked recursively with a single .dvc file tracking all contents.

PARAMETERS

-f, --file file

Specify .dvc filename.
--external
Track external files.
--no-commit
Don't auto-commit to git.
--glob
Use glob patterns.

INSTALL

brew install dvc
copy
nix profile install nixpkgs#dvc
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid