Dividing a large text file

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
MikeC
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9
Joined: Tue Sep 18, 2012 2:12 pm

Dividing a large text file

Post by MikeC » Sat Jan 26, 2013 7:01 am

With a txt file > 1GB, on the Mac I would use Terminal to split the file into say 50MB chunks with the following command "split -b50m NameOfFile.txt"
I don't want to archive it by zipping or stuffing, I just want to split it.

How can I do the same from within an App?

MikeC
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9
Joined: Tue Sep 18, 2012 2:12 pm

Re: Dividing a large text file

Post by MikeC » Sat Jan 26, 2013 10:13 am

Duh, of course use the shell command, all sorted.

Post Reply