Timeline for split file into N pieces with same name but different target directories
Current License: CC BY-SA 3.0
        4 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 27, 2017 at 9:03 | vote | accept | danone | ||
| Oct 31, 2017 at 13:30 | comment | added | danone | Surprisingly this solution is worked with 1.500.000 files. I did try two files which contains 10.000 and other file 1.500.000 lines. although split function good for less than 10000 lines. It is messed up after 35.000. be careful last line it is splitting middle of line. I spend nearly one day just trying to find what is wrong with the split saved file, after deleting last line which cuts middle of sentence, it does work. On the other hand I use sed answer for 1.5M files, It perfectly cut without loosing any lines. I highly recommend to use sed for large lines. I didn't try awk solution. | |
| Oct 31, 2017 at 13:20 | vote | accept | danone | ||
| Nov 27, 2017 at 9:03 | |||||
| Oct 30, 2017 at 14:33 | history | answered | jthill | CC BY-SA 3.0 |