File Splitter

File Splitter
  
            License: Freeware $0.00
            OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
            Requirements: Java 1.5+
            Publisher: Canadian Mind Products
            Homepage: http://mindprod.com
          

Split large text/html files into smaller files. I find it
much faster and more accurate than cut and paste.

You embed commands in the big file telling it which pieces
of it are to go where, then let Splitter do the work. It is
much faster and more accurate than trying to select huge
blocks of text in an editor. You don’t accidentally lose or
duplicate text. Keeping files small makes the site more
responsive.

In the following pretend that […] are actually lessthan…greater than.

You embed multiple [split tags in the file to be split of
the form:

[split charlie.html]

stuff that will end up in the charlie.html file.

[/split]

The text between the [split xxx] and [/split] tags is split
off into that named file and the text is removed from the
original file along with the tags.

1. Filenames may be absolute or relative, with no quotes or spaces.

2. Tags may be nested, but they must balance (equal number
of [split xxx] and [/split]).

3. Tags are case-insensitive, i.e. may be lower or upper case.

4. Multiple [split xxx] tags may be directed to the same
file, where they will be appended.

5. If the files mentioned in the split tags already exist,
they will be overwritten.

6. Anything not inside [split xxx].. [/split] is retained in
the original file. Everything else is removed.

The file being split must be small enough to fit in RAM.
Java array addressing limits the file to 2GB, though other
considerations mean in practice the largest file you can
handle will be smaller still.

To install, Extract the zip download with WinZip, available from
winzip.com (or similar unzip utility) into any
directory you please, often C:\ — ticking off the (user
folder names) option. To run as an application, type:

java -jar C:\com\mindprod\splitter\splitter.jar x.html

adjusting as necessary to account for where the jar file is.


Share this post