Monday, February 27, 2012

DeleteRegex

DeleteRegex command line program deletes files whose name matches a regular expression.
Command line parameters are:
-dir [adirectory] Directory of the files to delete. By default, this is the current directory.
-filepath [apattern] The file name pattern to find to delete. For example: .*/dir/(report)_[0-9]*.txt
-casesens This flag indicates search is case sensitive.
-delemptydirs This flag indicates empty folders that are being processed should be deleted as well.
-r Recursively process sub directories.
-verbose Print detailed messages.

Bestcode is pleased to provide the following file utilities to make bulk processing of files easier through simple, scriptable command line utilities and powerful regular expression functionality when needed.

Dos2Unix command line program converts carriage return, line feed pairs (\r\n) to line feeds (\n) and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Unix2Dos command line program converts line feeds (\n) to carriage return, line feed pairs (\r\n) and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Replaceregex command line program finds a given string in a batch of files, replaces them with another string and places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

RenameRegex command line program renames files whose name matches a regular expression places the output files in a separate directory if such directory is specified.

FileLineFilterRegex command line program eliminates text lines from text files based on regular expression patterns.
This program removes all lines which does not match a regular expression from text files places the output files in a separate directory if such directory is specified. The file size must be small enough to fit in available memory.

Bestcode File Utilities Pack comes as a zip file.

For more information, please visit <a href="http://www.bestcode.com">http://www.bestcode.com</a>
Download Now (0.02) MB

No comments:

Post a Comment