https://github.com/senselogic/bit
Git large file manager.
https://github.com/senselogic/bit
Last synced: 4 months ago
JSON representation
Git large file manager.
- Host: GitHub
- URL: https://github.com/senselogic/bit
- Owner: SenseLogic
- License: gpl-3.0
- Created: 2020-06-23T15:45:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T08:53:32.000Z (about 1 year ago)
- Last Synced: 2025-01-17T09:22:15.300Z (5 months ago)
- Language: D
- Homepage:
- Size: 12.3 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Bit
Git large file manager.
## Installation
Install the [DMD 2 compiler](https://dlang.org/download.html) (using the MinGW setup option on Windows).
Build the executable with the following command line :
```bash
dmd -m64 bit.d
```## Command line
```bash
bit [options]
```### Options
```
--split : 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
```sh
# 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
```bash
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.```bash
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 ([email protected]).
## License
This project is licensed under the GNU General Public License version 3.
See the [LICENSE.md](LICENSE.md) file for details.