Chop and Behead 1.1

Freeware

172 KB

Chop head or tail off text files. Looking for a marker then chopping either before or after the marker. chop.jar [-q] -charset="UTF-8" -before="xxx" -after="yyy" [-s] files and dirs

Publisher Description

Window 8 CompatibleChops 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 up. For details on possible encodings and how to tell which encoding a file is using, see "encoding" in the Java glossary. behead.jar [-q] -charset="UTF-8" -before="xxx" -after="yyy" [-s] files and dirs What are these utilities for? I wrote them when a bug tacked on junk to my files. I wrote it to strip off the junk. It can be useful is screenscraping to peel footers or headers off the pages you download. Why the axe icon? It symbolises chopping the end off a file or beheading.

Download and use it now: Chop and Behead

Add a comment...

Please tell us your experience with Chop and Behead

Related Programs

Chop Commute

Take the guess work out of your daily commute by seeing real-time traffic and drive times specific to your route right on your Windows System tray or Mac menu bar. Beat the traffic - save time and money by leaving...

Primitive File Size Chart

Primitive File Size Chart is a simple tool that will analyze the specified disk or folder and show you 50 largest files and 50 largest folders. The result of this analysis will give you the idea about what occupies a...

Folder Size Calculator

I started Folder Size Calculator as a project in 2004, when I had finished a course at CDI College. I had been downloading lots of movies, and programs and had no hard drive space left. So I made this little...

isosize clothing size widget

Should you sell new or second hand clothes on ebay, etsy, or any other selling webstore, isosize helps you to provide detailed information regarding clothes measurements to increase trust on size. With isosize tags, you may also share your clothes...

Break

Break is designed to help you work more effectively by recording your work times and reminding you to take a break when you have been working for over a set time. Work can be divided into an unlimited number of...