I did a single line of code in Ruby, which joins all text files in a
folder to a bigfile. I got some tests, and it's works!
Does anyone knows a better way, or other 'Ruby Way' to do that ?
File.open('bigfile','w') { |mergedFile| Dir.glob("*.txt").each { |
file| File.readlines(file).each { |line| mergedFile << line } } }
Thanks everyone!
www.twitter.com/luisbebop