Bestcode is pleased to provide the following file utilities to make bulk processing of text, html and xml files easier through simple, scriptable command line utilities and powerful regular expression functionality when needed.
CopyRegex can bulk copy files whose name matches a regular expression. It can optionally skip files that already exist in the target directory.
DeleteRegex deletes files whose names matches a regular expression. FileSplit.
exe utility is used to break a very large text file into smaller files so that they can be opened in common text editors (such as notepad) and inspected.
Most of the time, such very large files are created to contain database exports, or server activity logs. LineCount. exe utility counts the number of lines in text files in bulk.
This is typically useful for programmers who need an estimated number of lines of code for their projects. It may be useful for other estimation purposes as well.
LineCount.
exe gives the option of recrusively processing sub directories, and ignoring empty lines. FiXML - Invalid XML characters fixer is a command line tool that removes or replaces invalid XML characters in an XML document.
Invalid range of XML characters are defined by XML spec and documents that contain them cannot be parsed in most cases. Wget4Xsd downloads XML Schema files from an http location to a local directory.
It automatically discovers include, import, redefine XML Schema dependencies and recursively pulls dependent XSD files.
It is a time saver and it can quickly download a large web of XML schema files when a manual introspection of files and individual downloads could take a day without this valuable utility.
HtmlFix2Unix utility is used to convert case insensitive html links to case sensitive versions by lowercasing, or uppercasing them so that the html files can be used on a Unix like case sensitive system.
Replace.
exe is used to find and replace simple ascii text in text files.
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.
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.
JpegSize.
exe is used to resize multiple jpeg image files with one command. This is a real time saver for those of us who take many high resolution photos but need smaller versions to share with family and friends.
Bestcode File Utilities Pack comes as a zip file.