I like what I have read about cylf since it is almost exactly what I need but have a problem.
I was testing on my Windows with your existing cylf binary and was able to split a test file with no problems.
cylf -a cut -n 1 -f BitComet_1.95_setup.exe
file: D:\Torrent\cylf\downloads/BitComet_1.95_setup.exe
[PROMPT] File will be cut into: 24 pieces with size: 1048576 bytes
[SUCCESS] Piece 1/24: D:\Torrent\cylf\downloads/95_setup/95_setup_0.cylf
[SUCCESS] Piece 2/24: D:\Torrent\cylf\downloads/95_setup/95_setup_1.cylf
[SUCCESS] Piece 3/24: D:\Torrent\cylf\downloads/95_setup/95_setup_2.cylf
[SUCCESS] Piece 4/24: D:\Torrent\cylf\downloads/95_setup/95_setup_3.cylf
[SUCCESS] Piece 5/24: D:\Torrent\cylf\downloads/95_setup/95_setup_4.cylf
[SUCCESS] Piece 6/24: D:\Torrent\cylf\downloads/95_setup/95_setup_5.cylf
[SUCCESS] Piece 7/24: D:\Torrent\cylf\downloads/95_setup/95_setup_6.cylf
[SUCCESS] Piece 8/24: D:\Torrent\cylf\downloads/95_setup/95_setup_7.cylf
[SUCCESS] Piece 9/24: D:\Torrent\cylf\downloads/95_setup/95_setup_8.cylf
[SUCCESS] Piece 10/24: D:\Torrent\cylf\downloads/95_setup/95_setup_9.cylf
[SUCCESS] Piece 11/24: D:\Torrent\cylf\downloads/95_setup/95_setup_10.cylf
[SUCCESS] Piece 12/24: D:\Torrent\cylf\downloads/95_setup/95_setup_11.cylf
[SUCCESS] Piece 13/24: D:\Torrent\cylf\downloads/95_setup/95_setup_12.cylf
[SUCCESS] Piece 14/24: D:\Torrent\cylf\downloads/95_setup/95_setup_13.cylf
[SUCCESS] Piece 15/24: D:\Torrent\cylf\downloads/95_setup/95_setup_14.cylf
[SUCCESS] Piece 16/24: D:\Torrent\cylf\downloads/95_setup/95_setup_15.cylf
[SUCCESS] Piece 17/24: D:\Torrent\cylf\downloads/95_setup/95_setup_16.cylf
[SUCCESS] Piece 18/24: D:\Torrent\cylf\downloads/95_setup/95_setup_17.cylf
[SUCCESS] Piece 19/24: D:\Torrent\cylf\downloads/95_setup/95_setup_18.cylf
[SUCCESS] Piece 20/24: D:\Torrent\cylf\downloads/95_setup/95_setup_19.cylf
[SUCCESS] Piece 21/24: D:\Torrent\cylf\downloads/95_setup/95_setup_20.cylf
[SUCCESS] Piece 22/24: D:\Torrent\cylf\downloads/95_setup/95_setup_21.cylf
[SUCCESS] Piece 23/24: D:\Torrent\cylf\downloads/95_setup/95_setup_22.cylf
[SUCCESS] Piece 24/24: D:\Torrent\cylf\downloads/95_setup/95_setup_23.cylf
[SUCCESS] File cut successfully
The problem seems to be when I tried to merge it back together.
cylf -a merge -i 95_setup -f test.exe
[PROMPT] File: ./95_setup/test-merged.exe
[SUCCESS] Files found: 24
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x38 pc=0xb9a557]
goroutine 1 [running]:
main.merge({0xc00000a108?, 0xc000020090?}, {0xc00000a0e8, 0x8})
/home/mariana/Documents/github-mariana/cylf/src/cylf.go:89 +0x377
main.main()
/home/mariana/Documents/github-mariana/cylf/src/cylf.go:126 +0x265
for which it did not merge the file from the "95_setup" directory.
Also, I noticed that when splitting the file with the "-n" switch that if would not allow for any size less than 1 MB as I would also like to experiment with creating chunks down in the KB range as well, if possible.