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
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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