Console / Command Line Tools
| FDF |
- |
File & Directory Functions |
- FDF CLEAN - search and delete files that match specified searching criteria
- FDF COPYFILES - search and copy files that match specified searching criteria
- FDF DELTREE - delete tree
- FDF LISTFILES - list files that match specified searching criteria
- FDF LISTREE - list directory structure
- FDF MOVEFILES - search and move files that match specified searching criteria
- FDF ZIP - search files that match specified searching criteria and write them to a zip file
Command Syntax
- FDF CLEAN DIRECTORY [Searching Criteria] [/R(emove Empty Directories)]
- FDF COPYFILES DIRECTORY [Searching Criteria] /DEST:dest-directory [/NXD (not copy sub-directories)]
- FDF DELTREE DIRECTORY
- FDF LISTFILES DIRECTORY [Searching Criteria]
- FDF LISTREE DIRECTORY [Searching Criteria]
- FDF MOVEFILES DIRECTORY [Searching Criteria] /DEST:dest-directory [/NXD (not copy sub-directories)]
- FDF ZIP DIRECTORY [Searching Criteria] /DEST:zip-file-name [/NXD (not store sub-directorie names)]
Searching Criteria
- /FN:NAME (File name filters)
NAME = [-]wildcard filters
There are some differences in ways of using widecards between Windows Command and FDF:
- /FN:* means files WITHOUT extention names, while /FN:*.* means files WITH extension names.
Thus, if you want to scan all files (with or without extension names), the wildcard filters must be: /FN:*.*;*
- "/" can be used in wildcard filters. If "/" is found in a wildcard filter,
FDF use the full path name to testing the match.
- /FA:ATTRIBUTES (File attributes filters)
ATTRIBUTES = [-]ARHS
A=archive
R=read-only
H=hidden
S=system
- /TC:DATETIME~DATETIME (creation time)
DATETIME = yyyy-mm-dd-hh-mm-ss
- /TA:DATETIME~DATETIME (last access time)
DATETIME = yyyy-mm-dd-hh-mm-ss
- /TM:DATETIME~DATETIME (last write time)
DATETIME = yyyy-mm-dd-hh-mm-ss
Special Directories
If the first character of DIRECTORY (the second command line argumemt) is '?',
The rest part of the field (up to the first '\\') is assumed to be a special directory.
The program first looks up it in the environment table, and if failed, it is taken as
a shell folder ID. For example:
?temp = usually 'temp' is in the environment table as the temporary directory.
?5 = will be translated as the Shell's 'My Documents' folder.
Usage Examples
- Clean *.tmp files from the "TEMP" directory:
FDF CLEAN ?TEMP /FN:*.tmp
- List office files in the "My Documents" folder which are modified in 2009.
FDF LISTFILES ?5 /FN:*.doc;*.xls;*.ppt /TM:2009
- ZIP office files in the "My Documents" folder which are modified from 2008-1-1 to 2008-12-31
FDF ZIP ?5 /FN:*.doc;*.xls;*.ppt /TM:2008-1-1~2008-12-31 /DEST:office2008.zip /NXD
*/NXD tells the programm to zip the files but not to store sub-directory information into the zip file.
- Copy all JPEG files from all over the C: drive to a director on D:
FDF COPYFILES C:\ /FN:*.jpg /DEST:D:\JPEGS /NXD
*/NXD tells the programm to copy files but not to copy sub-directories.
Download Trial Version
try_fdf.zip, about 40 K.
The trival version supports only the following commands:
Buy
- License fee (USD): USD 25.00
- Our online payment service is provided PayPal.
If you don't have a PayPal account, you can still pay with credit card there.
Please click the button below and make the payment:
- Within 24 hours of the payment confirmed by our payment service provider, we will send you the licensed copy.
- If you have problems with our online payment service, please send a message to support@xuebrothers.net.