Chop and behead

Chop and Behead

Download URL | Author URL | Software URL | Buy Now ($0)

Chops the end ends off text files either before or after a marker string.
The companion Behead utility chops the beginnings off files before or
after a marker string.

chop.jar [-q] -charset="UTF-8" -before="xxx" -after="yyy" [-s] files and dirs

-q = quiet. Suppress progress messages.

-charset= what character set the file is, uses platform default if you
leave it out.

-before= the string to look for in the file. The tail end of the file is
chopped off starting just before this marker. The marker is case-sensitive.

-after= the string to look for in the file. The tail end of the file is
chopped off starting just after this marker. You must have either -before
or -after but not both. The marker is case-sensitive.

-s= also process subdirs,

then a list of files and directories, multiples but no wildcards supported
yet.

Neither -before nor -after can be regexes. It is almost impossible to
specify a regex on the command line without the command line processor
messing it

Related software (5)

HTMLTrim

HTMLTrim

HTMLTrim is an HTML files trimming program. It can trim unwantted characters from your HTML web page files like *.htm, *.html, *.asp, *.php, etc. Make your web page files clean, sm ...

Trellian WebTidy

Trellian WebTidy

Trellian WebTidy is the perfect solution to optimizing and supercharging your websites. With Trellian WebTidy you take a page from your website and the program will carefully analy ...

TX Text Control rich text editor

TX Text Control rich text editor

Rich text editor that offers developers a broad range of word processing features.

txtPro Text Editor

txtPro Text Editor

txtPro Text Editor is your all-in-one multi language code editor, text editor and HTML editor! Great looking color syntax highlighting combined with auto indentation give you the f ...

PMVR - Patented Mappable VR

PMVR - Patented Mappable VR

Display 360 degree panoramas in a web page or full-screen mode. PMVR is small, fast, and multi-platform. Create incredible walk-throughs with the optional floor plan feature. Full ...

RSS Feed | submit pad file