3.3. lfc-add
: Add or update a large file¶
This command first finds all files in a WORKING repo (non-bare) that match one or more user-specified file name patterns relative to the current working directory and then performs the following actions for each corresponding large file:
Calculates the SHA-256 hash of the contents of that file
Stores that file in
.lfc/cache/
Creates a metadata file that appends
.lfc
to the file name
- Usage:
$ lfc add FILE1 [FILE2, ...] [OPTIONS]
- Inputs:
FILE1: Name or pattern for first large file(s) to add
FILE2: Name or pattern for second large file(s) to add
- Options:
- -h, --help
Display this help message and exit
- --mode MODE
Set mode of large file(s) to MODE: {1} | 2
- -1
Shortcut for
--mode 1
(default)- -2
Shortcut for
--mode 2