/BIT

Git large file manager.

Primary LanguageDGNU General Public License v3.0GPL-3.0

Bit

Git large file manager.

Installation

Install the DMD 2 compiler (using the MinGW setup option on Windows).

Build the executable with the following command line :

dmd -m64 bit.d

Command line

bit [options]

Options

--split <size> : find non-excluded files larger than `size` in the current folder,
                 split them inside the `.bit/` folder and exclude them in the `.gitignore` file
--join : rebuild large files from the fragments stored inside the `.bit/` folder
--verbose : show the processing messages

Size suffixes

b : byte
k : kilobyte
m : megabyte
g : gigabyte

File exclusion syntax

# comment
/PATH/TO/
!/PATH/TO/
/PATH/TO/file_pattern
!/PATH/TO/file_pattern
PATH/TO/
!PATH/TO/
PATH/TO/file_pattern
!PATH/TO/file_pattern
file_pattern
!file_pattern

Examples

bit --split 50m

Finds non-excluded files larger than 50 megabytes in the current folder, splits them inside the .bit/ folder and excludes them in the .gitignore file.

bit --join

Rebuilds large files from the fragments stored inside the .bit/ folder.

Limitations

  • Only the .gitignore file of the current folder is used.

Version

1.0

Author

Eric Pelzer (ecstatic.coder@gmail.com).

License

This project is licensed under the GNU General Public License version 3.

See the LICENSE.md file for details.