Chop and Behead 1.1 Details


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 10 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

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...


Stretch Break

Stretch Break is an ergonomic software program that helps prevent Repetitive Strain Injuries (RSIs) by gently reminding you to take periodic breaks while using your computer. Every 30 minutes (default) it asks your permission to show yoga-based stretches. Full-motion animated...


Health Break

We all work too much. Many don't realize how important it is to step away from the monitor and take a break. This isn't just for your physical health, but your mental health. For some users breaks come naturally. For...


Break the Prison on PC

You have been framed for a crime and have been sentenced to death you know what this means! Thats right, A PRISON BREAK! First, you need to think up of a brilliant plan to clear your name. Thankfully, you are...


Folder Size Tree

Folder Size Tree displays all drives/folders/files size in a tree view, in order to let you to manually clean disk space conveniently. It displays the local and network drives, folders and files with their sizes (automatically sorted by size in...


Screenshot


Details

Keywords