Scripts

Here is a collection of scripts that people may find useful.

Visual Basic Scripting

cleanfiles.vbs

Cleans out all files in a directory over a certain age. Can be used to clear down log files and temporary locations. Also has a recursive mode which can traverse through a directory tree. Accepts a filter indicating which files are to be removed.

sync.vbs

Creates a copy of a directory and keeps it up to date with the source. Can be used to mirror a directory structure for backup or other purpose.

md5.vbs

Shows the MD5 hash of a file. Useful for checking that data has not been corrupted, or for fingerprinting files to see whether they have changed.

Similar Posts: