Kyle R. Burton on 8 Nov 2006 22:03:49 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] chopping files


On 11/8/06, Jeff Watson <redgibson@gmail.com> wrote:
Is there a utility i can use to chop a large text file into x number of
smaller peices of the same file? I am loading a database and i think the
file size is an issue so i want to cut it into peices and load them
individually?

The split(1) command might be what you're after. It can split a file based on bytes, or by lines (if it's text).

hth

Kyle
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug