0
I got a bunch off files with "line-based" content. They have different sizes but I need a lot of files with the same sizes.
What I got:
- File 1, 70 Lines, 5MB
- File 2, 113 Lines, 15MB
What I want:
- File 1, 10MB
- File 2, 10MB
I thoght about merging the files together and split them with "split" command - but when using Split it breaks the lines - but I need to preserve the lines and only split after the line break. Using "split" command line based would not work, too because the size of the single lines differs a lot.
1If the sizes of the line change a lot, then please answer this question: If you have a line that makes the file 10239 KB big (just under 10 MB) and the line added makes it 10241 KB (just over 10 MB), do you want the line to be included or not? – Master-Guy – 2015-03-03T07:59:35.947
It's better if the file is bigger than 10MB - so I want the line to be included – PascalTurbo – 2015-03-03T08:35:43.520