I am trying to divide a big file using Java. Is there a way to divide a file and create smaller chunks without reading the entire file? I can calculate the points in the file where it should be splitted.
Does anyone know how the split command(unix) does it?