some commandline tools
I wrote these tools as perl scripts, embedded in batchfiles ( I got this
trick from active state, and extended it such that it also works with
cygwin perl )
- urldecode.bat
- en- or decodes the standard input with urlencoding.
[ translates "abc+xyx%7e" into "abc xyx~" ]
- base64.bat
- en- or decodes the standard input with base64.
[ translates "YWJjZCAK" into "abcd" ]
- batch-perl-template.bat
- just the header to embed perl scripts in a batchfile
- dirsummary.bat
- generate xml file with md5sums and sizes, for all files in
a directory recursively, with summaries at each dirnode.
this makes it easy to compare very large directory trees.
- ldu.bat
- calculates diskusage from dir logs also used by locate.
- locate.bat
- quickly find file anywhere on disk, by searching a nightly
generated directory listing.
[ the nightly generation you have to schedule yourself. ]
- lstm.bat
- lists access/mod/create time for files
- pfind.bat
- generic script to recursively process files/directories.
- rfscopy.bat
- wrapper around rfstool, for copying files
rfstool is a commandline tool for accessing reiserfs partitions
under windows
- rfsdir.bat
- wrapper around rfstool, for listing directories
- which.bat
- searches the current PATH for a specified file, with wildcards.
"which *dump*.exe" will list all files containing 'dump' in the
executable filename.
remarks
- ldu and locate are both dependent on the locale settings for date/time
to correctly parse the dir listings.