Home > Web Development > HTML Tools

Pluck


Canadian Mind Products
Freeware
1.0
$0.00
6/4/2008
2.96MB
0
Java, Linux, Apple MAC, Unix, Windows
Home Page
Download
Buy Now


Scans multiple files looking for a REGEX pattern, and
summarised what it finds as a CSV file.

java.exe -jar C:\com\mindprod\pluck\pluck.jar "\.[a-z]+\." E:\temp\temp.csv E:\somedir

adjusting as necessary to account for where the jar file is.
The first parameter is the regex pattern. See regex in the java glossary
for how to compose them.

The next parameter is where the output in to go. use the
word console to have the output appear on the console.

Then put a list of files and directories on command line you
want to scan where -s means recursively include all
subdirectories for everything to the right of -s.

It will look only for *.html, *.htm, *.xml, *.txt
extensions. You can't change that via the command line,
though you could modify the program.

The command line does not currently support wildcards, e.g.
ap*.txt or ff?.html. You need to specify the full names of
files or directories, or . to mean all the files in the
current directory.