View Single Post
Old 01-06-2019, 09:20 PM  
AdultKing
Raise Your Weapon
 
AdultKing's Avatar
 
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,601
Quote:
Originally Posted by EddyTheDog View Post
I just found/used a prog from filesplitter.org - It's Freeware and worked like a charm - Not bad, it's a 9GB file and the prog looks like it was made for Windows 3.11...
On any unix/linux/mac system you can use the command split to split files.

example splits a file of any size into smaller files, each with 5000 lines

Code:
split -l 5000 anyfile.ext newfile
If split isn't on your system:

on Ubuntu/Debian type

Code:
sudo apt-get install split
on Centos/RHEL

Code:
sudo yum install split
on MacOS

Code:
brew install split
AdultKing is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote