By Filename Similarity
Maitain File Path
By Filename Keyword Template(Personal Edition
disabled)
By Filename Extension Template(Personal Edition
disabled)
By File Size Template(Personal Edition disabled)
By File Modified Date Template(Personal Edition disabled)
<?xml version="1.0" encoding="utf-8"?> <pengsdata> <dir value="windows" > <dir value="windows98"> <keyword value="win|98" priority="5"/> <keyword value="windows 98" priority="10"/> </dir> <dir value="windows2000"> <keyword value="win|2000" priority="5"/> <keyword value="windows 2000" priority="10"/> </dir> <keyword value="windows" priority="-1"/> <keyword value="win" priority="-10" description="windows"/> </dir> <dir value="office"> <dir value="office2000" targetDir="C:\"> <dir value="word2000"> <keyword value="word|2000" priority="80"/> <keyword value="word 2000" priority="100"/> </dir> <keyword value="office|2000" priority="50"/> <keyword value="office-2000" priority="60"/> <keyword value="office 2000" priority="65"/> </dir> <keyword value="office" priority="-1"/> </dir> </pengsdata> |
Comments for template:
<?xml version="1.0" encoding="utf-8"?>: XML
declaration,required.
encoding should be accord with your system encoding.You can get your system encoding by
following steps: run program, click "Tools" in the program menu bar, then click
"My System Encoding" in the menu item.
<pengsdata>:pengsdata element, required.
<dir value="office2000" targetDir="C:\">: specify
directory name, required. attribute-value, required, non-empty. attribute-targetDir,
optional, its value will be as target directory to this directory and its
subdirectories(exclude subdirectories which contain attribute targetDir, and these
subdirectories' subdirectories).
its sub-element may be "keyword" or "dir". dir element corresponding
to directory which named by attribute value.
<keyword value="win" priority="-10"
description="windows"/>: specify keyword, required. It has no
sub-element.
attribute-value and attribute-priority, required, non-empty. attribute-description is
optional. attribute-value's value 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 specify keyword element's priority, must be a integer. Please
set it range from -30 to 100, so that it can be shared with other users.
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 contain the keyword element.
If dose not include, takes out a keyword which has highest priority in other keywords,
repeates above.
For example (template is test1.xml above, supose in d:\),
Source directory: c:\abc\def
Destination directory: d:\xyz
(Advanced)Must include keyword in the contents of the top 20 lines max in Text
file(txt/htm/html): deselected
(Advanced)Check keywords' priority is right or not: deselected
(Advanced)Keyword's priority must be bigger than: -1
Template file path: d:\test1.xml
suppose source directory exists file: c:\abc\def\gh\how install office 2000 on windows
2000.txt
Result: c:\office 2000\how install office 2000 on windows 2000.txt
Supplement:
<dir value="office2000" targetDir="C:\"> if has no attribute
targetDir, result will be below:
d:\xyz\office\office 2000\how install office 2000 on windows 2000.txt.
If (Advanced)"Must include keyword in the contents of the top 20 lines max in Text
file(txt/htm/html)" is selected, program will check 20 lines max in front of content
whether include 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. "Text file" means only txt/htm/html files' content
will be checked.
(Advanced)"Check keywords' priority is right or not", if select, will check all
keywords' priority in the template file. And all of keywords, whose priority is incorrect,
will be listed in program window. You should select this option when you first use a
template file.
(Advanced)"Keyword's priority must be bigger than" is set -1 here, three keyword
elements below will be ignored:
<keyword value="windows" priority="-1"/>
<keyword value="win" priority="-10"
description="windows"/>
<keyword value="office" priority="-1"/>
"template file path" may one or more template file path.
<?xml version="1.0" encoding="utf-8"?> <pengsdata> <dir value="multi-media" > <dir value="audio" targetDir="C:\"> <extension value="mp3"/> </dir> </dir> </pengsdata> |
Comments for template:
<dir value="audio" targetDir="C:\">: specify directory
name, required. attribute-value, required, non-empty. attribute-targetDir, optional, its
value will be as target directory to this directory and its subdirectories(exclude
subdirectories which contain attribute targetDir, and these subdirectories'
subdirectories).
its sub-element may be "extension" or "dir". dir element corresponding
to directory which named by attribute value.
<extension value="mp3"/>: specify filename extension, required. It
has no sub-element.
attribute-value, required, non-empty.
For example (template is test2.xml above, supose in d:\),
Source directory: c:\abc\def
Destination directory: d:\xyz
Template file path: d:\test2.xml
suppose source directory exists file: c:\abc\def\gh\extensionTest.mp3
Result: c:\audio\extensionTest.mp3
Supplement:
<dir value="audio" targetDir="C:\"> if has no attribute
targetDir, result will be below:
d:\xyz\multi-media\audio\extensionTest.mp3.
<?xml version="1.0" encoding="utf-8"?> <pengsdata> <dir value="0-50KB" > <size value="0-50" unit="KB"/> <dir value="0-20KB" targetDir="C:\"> <size value="0-20" unit="KB"/> </dir> </dir> </pengsdata> |
Comments for template:
<dir value="0-20KB" targetDir="C:\">: specify directory
name, required. attribute-value, required, non-empty. attribute-targetDir, optional, its
value will be as target directory to this directory and its subdirectories(exclude
subdirectories which contain attribute targetDir, and these subdirectories'
subdirectories).
its sub-element may be "size" or "dir". dir element corresponding to
directory which named by attribute value.
<size value="0-20" unit="KB"/>: specify file size,
required. It has no sub-element.
attribute-value and attribute-unit, required, non-empty.
attribute-value must be a positive integer or a range of positive integer(here
value>=0KB, value<20KB). One element's value intersects with another's is unallowed,
unless two elements fulfil the following conditions: 1, The two directories'(in which two
elements located) relationship is direct-relative; 2,junior element's value-range must be
located in the range of father element's value-range.
attribute-value must be one of KB/MB/GB.
1GB = 1024MB = 1024*1024KB.
For example (template is test3.xml above, supose in d:\),
Source directory: c:\abc\def
Destination directory: d:\xyz
Template file path: d:\test3.xml
suppose source directory exists file: c:\abc\def\gh\sizeTest.txt, its size is 12KB
Result: c:\0-20KB\sizeTest.txt
Supplement:
<dir value="0-20KB" targetDir="C:\"> if has no attribute
targetDir, result will be below:
d:\xyz\0-50KB\0-20KB\sizeTest.txt.
<?xml version="1.0" encoding="utf-8"?> <pengsdata> <dir value="0-1yearAgo" > <date value="0-1" unit="year_ago"/> <dir value="0-1monthAgo" targetDir="C:\"> <date value="0-30" unit="day_ago"/> </dir> </dir> </pengsdata> |
Comments for template:
<dir value="0-1monthAgo" targetDir="C:\">: specify
directory name, required. attribute-value, required, non-empty. attribute-targetDir,
optional, its value will be as target directory to this directory and its
subdirectories(exclude subdirectories which contain attribute targetDir, and these
subdirectories' subdirectories).
its sub-element may be "date" or "dir". dir element corresponding to
directory which named by attribute value.
<date value="0-30" unit="day_ago"/>: specify file
modified date, required. It has no sub-element.
attribute-value and attribute-unit, required, non-empty.
attribute-value must be a positive integer or a range of positive integer(here
value>=0day_ago, value<30day_ago). One element's value intersects with another's is
unallowed, unless two elements fulfil the following conditions: 1, The two directories'(in
which two elements located) relationship is direct-relative; 2,junior element's
value-range must be located in the range of father element's value-range.
attribute-value must be one of day_ago/month_ago/year_ago.
1year_ago = 12month_ago = 12*30day_ago.
For example (template is test4.xml above, supose in d:\),
Source directory: c:\abc\def
Destination directory: d:\xyz
Template file path: d:\test4.xml
suppose source directory exists file: c:\abc\def\gh\dateTest.txt, its file modified date
is 12 day ago
Result: c:\0-1monthAgo\dateTest.txt
Supplement:
<dir value="0-1monthAgo" targetDir="C:\"> if has no attribute
targetDir, result will be below:
d:\xyz\0-1yearAgo\0-1monthAgo\dateTest.txt.
History: