How can I split a text file into 70% and 30% using the split command ?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
The commands below will work for percentages above 50% (if you want to split only into two files), quick and dirty approach. 1) split 70% based on lines
2) split 70% based on bytes
|
|||
|
|