How to split a file based on size by no of chunks ?
I have a text file 5 MB data, now i want to split this into 5 parts with 1Mb each, in to some other directory ?
is it possible to split a file without read or write method to split ?
Printable View
How to split a file based on size by no of chunks ?
I have a text file 5 MB data, now i want to split this into 5 parts with 1Mb each, in to some other directory ?
is it possible to split a file without read or write method to split ?
Hard to do if you don't read the bytes of the file and write them out again in other files.Quote:
is it possible to split a file without read or write method to split ?
Perhaps you could call another program to do the reading and writing.
here is the code buddy that i write to my self .. may be it will help u ..
...edited by moderator
@deependeroracle - Thnks mate :) It really useful
Read the Forums Rules deependeroracle. Though it was the help but more than help it's Spoon Feeding and it's the violation of Forums Rules.
ur welcome :) .. but some how i was unaware of rules and mistakenly broke that ... means i did spoonfeeding