https://github.com/senselogic/frag
Script fragmenter.
https://github.com/senselogic/frag
Last synced: 4 months ago
JSON representation
Script fragmenter.
- Host: GitHub
- URL: https://github.com/senselogic/frag
- Owner: SenseLogic
- License: gpl-3.0
- Created: 2023-09-19T06:19:13.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T17:49:53.000Z (almost 2 years ago)
- Last Synced: 2025-01-17T09:22:21.579Z (5 months ago)
- Language: D
- Size: 116 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

# Frag
Script fragmenter.
## 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 frag.d
```## Command line
```bash
frag [options]
```### Options
```
--semicolon
--split : split files
--join : join files
```### Size suffixes
```
b : byte
k : kilobyte
m : megabyte
g : gigabyte
```### Examples
```bash
frag --semicolon --split 800k script.sql
```Splits the file.
```bash
frag --join script.1.sql script.2.sql script.3.sql script.sql
```Joins those files.
## Limitations
* Files are split and joined in memory.
## Version
0.1
## 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.