How can I split a large file on Windows?
Problem
Is there a tool to split large text file (9 GB) into smaller files, so that I can open it and look through? Is there anything usable from the command line that comes with Windows (XP)? Or what's the best way to split it? Can I use 7-Zip to create separate volumes and then unzip one of them separately? Will it be readable or does it need all the other parts to unzip into the big file again? I put together a quick 48-lines Python script that splits the large file into 0.5 GB files which are easy to open even in Vim. I've just needed to look through data towards the last part of the log (yes, it is a log file). Each record is split across multiple lines so grep would not do.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How can I split a large file on Windows?
There is a freeware Windows file splitter called HJSplit. It is available here. The website claims it can split files of any type and size, but 9 GB is a big file.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix