Pengsdata File Categorization 3in1
This is a program of file Categorization automatic, follows after
"Pengsdata File Categorization Robot". It includes three functions: "copy
or move specifically types files and maintain path"; "classify by file
type(filename extensions)"; "classify by XML template(a kind of text
file)". The last is recommendable. As long as write a XML template for the first
time, this program can classify files automatic use the XML template.
This software is a good assistant for file management, intelligence department and
archives management. Possible application ranges:
1, pigeonhole large numbers of files;
2, secretary;
3, Enterprise Data Management;
4, Information and Consultation;
5, Stat.;
6, library;
7, scientific research;
8, newspaper office;
9, Customer Service Center;
This software is easy to use, need not complex configuration and training.
If you have any questions about this help text, contact me: pengwenming@hotmail.com.
I, Install, Run and uninstall
(i) Install "Java(TM) 2 Runtime Environment, Standard Edition":
This program must run on popular OS -- e.g.Windows 9X/NT/2000/XP/2003, Mac OS X (includes
the full version of Java 2, Standard Edition, version 1.4.2), Unix, Linux -- which is
installed "Java(TM) 2 Runtime Environment, Standard Edition" version 1.4 or
later, download address for "Java(TM) 2 Runtime Environment, Standard Edition":
(1)http://java.sun.com/javase/sitemap.jsp,
look down along left will find Download item, which includes three sub-items:
a, Latest Release, click "Java Runtime Environment";
b, Next Release;
c, Previous Releases,click J2SE
1.4.2,then click "J2SE v 1.4.2_xx JRE".
(2) http://www.pengsdata.net/download.htm
(ii) Install this program:
This program is a green software, extracte the download file is ok.
(iii)Run this program
1, windows or mac platform, double click Categorization3in1.jar is ok.
2, windows console, suppose that you extract the download file to path c:\pengsdata, input
command "java -jar c:\pengsdata\Categorization3in1.jar" is ok.
3, linux/unix console, suppose that you extract the download file to path
/usr/local/pengsdata, input command "java -jar
/usr/local/pengsdata/Categorization3in1.jar" is ok.
(iv) Uninstall:
If want to uninstall, only need to delete directroy which the program exists.
II, Comments for register.
This program is no time bar, but some functions are limited for unregistered users(program
dose not deal with files in directory '.files' or '_files', which corresponding to html
file.and dose not delete source files worked and empty directory in source directory).
Visit buy for more information.
III, Comments for public parameter
source directory: a directory where your source files exists
destination directory: a directory where you save files worked
delete source files worked and empty directory in source directory:
If selected, move files which fit in with some conditions from source directory to
destination directory,
If deselected, copy files which fit in with some conditions from source directory to
destination directory.
VI, Comments for parameters of task
(i) copy or move specifically types files and maintain path
For example,
source directory: c:\\abc\\def\
destination directory: d:\\xyz
parameter of task: txt|htm|html
Suppose source directory exists two files: c:\\abc\\def\\gh\\test.txt;
c:\\abc\\def\\pq\\test.htm
result: d:\\xyz\\abc\\def\\gh\\test.txt and d:\\xyz\\abc\\def\\pq\\test.htm
supplement:
Parameter of task must be filename extension, if more than one, split by "|"
(ii) classify by file type
For example,
source directory: c:\abc\def
destination directory: d:\xyz
parameter of task: txt|htm|html
Suppose source directory exists two files:c:\abc\def\gh\test.txt; c:\abc\def\pq\test.htm
result: d:\xyz\txt\test.txt and d:\xyz\htm\test.htm
supplement:
Parameter of task must be filename extension, if more than one,split by "|".
All filename extensions denoted by wildcard: "*"
(iii) classify by XML template
There are some XML templates attched with this program, which are placed in folder xml-template.
Also, you can use text-editor or XML-editor edit XML template imitate as follows(named
test.xml):
<?xml version="1.0"
encoding="utf-8"?> <root> <dir name="windows" > <dir name="windows98"> <keyword name="win|98" priority="5"/> <keyword name="windows 98" priority="10"/> </dir> <dir name="windows2000"> <keyword name="win|2000" priority="5"/> <keyword name="windows 2000" priority="10"/> </dir> <keyword name="windows" priority="-1"/> <keyword name="win" priority="-10" description="windows"/> </dir> <dir name="office"> <dir name="office2000"> <dir name="word2000"> <keyword name="word|2000" priority="80"/> <keyword name="word 2000" priority="100"/> </dir> <keyword name="office|2000" priority="50"/> <keyword name="office-2000" priority="60"/> <keyword name="office 2000" priority="65"/> </dir> <keyword name="office" priority="-1"/> </dir> </root> |
กก
Comments for XML template:
<?xml version="1.0" encoding="utf-8"?>: XML declaration,
required.
encoding should be accord with your system encoding.
<root>: root element, required.
<dir name="">: Appoint directory name, required. attribute-name,
required, non-empty.
its sub-element may be "keyword" or "dir". dir element corresponding
to directory which named by name-attribute of dir element.
<keyword name="" priority="" description=""/>: Appoint
keyword, required.
It has no sub-element.
attribute-name and attribute-priority, required, non-empty. attribute-description is
optional.
value of attribute-name must be one or more keywords(if more, split by "|"
between keywords, relationship is "AND", denote that filename must include all
keywords), ignoring case.
attribute-priority's value appoint keyword element's priority, must be a integer.
Program takes out a file, then takes out a keyword which has highest priority,
then judges whether includes the keyword in the file name.
If includes, stop judging and categorize the file to directory which corresponding to dir
element that include the keyword element.
If dose not include, takes out a keyword which has highest priority in other keywords,
repeates above.
For example(XML template is test.xml above,supose in d:\),
source directory: c:\abc\def
destination directory: d:\xyz
check whether include keyword in file content: deselected
keyword priority must big than: -1
XML file path: d:\test.xml
Suppose source directory exists file: c:\abc\def\gh\how install office 2000 on windows
2000.txt
result: d:\xyz\office\office 2000\how install office 2000 on windows 2000.txt
supplement:
if "check whether include keyword in file content" is selected,program will
check content whether includes keyword "office 2000" in "c:\abc\def\gh\how
install office 2000 on windows 2000.txt", if dosen't include, only list the file in
program window, will not copy or move it.
"keyword priority must big than" is set -1 here, three keyword elements below
will be ignored:
<keyword name="windows" priority="-1"/>
<keyword name="win" priority="-10"/>
<keyword name="office" priority="-1"/>