An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

![](https://github.com/senselogic/BIT/blob/master/LOGO/bit.png)

# 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.