FileManipulator
FileManipulator can split a text formatted file into multiple files, and recover the original file by merging the splitted files. https://github.com/gipcompany/file_manipulator
FileManipulator can split a text formatted file into multiple files, and recover the original file by merging the splitted files. https://github.com/gipcompany/file_manipulator
Comments
I noticed that you’re loading the whole files into memory both on splitting and on merging. I would recommend you check out IO.copy_stream ;)
Post a comment