Back to KanastaCorp

KanastaCorp

Command Line Utilities

Contents

Description ] [ Download Area ] [ Payments ]

Description

These are a few small command line utilities that we think many ppl would find useful. Many of these can take input from the console, ie, you can string it up to a command whose output you wish to use as input. Eg. for txtclean, you can use dir | txtclean -u to display the directory using uppercase. Many can also output to the console, so you can string it to another command after it. Eg. filter -d unix.file | newline -d.

Utility Description
filer Truncates bytes from the start and end of a file. I use this mainly for trimming off the silence at the ends of mp3s, as mp3s are headerless and thus can be cut off anywhere.
filesize Sets a file to the specified size. The contents of the file will be the random contents of your hard disk
filter Filters non-text files to be readable by removing control characters, etc.
head Gets starting lines or bytes from a file. Good for having a quick peek inside large files.
newline Converts ascii files from Unix to Dos or vice versa.
patch Creates a patch file from two files, or patches a file using a patch file.
split Splits a large file into several smaller files. Like a dos version of Dariolius modelled after the unix command split. You can use copy /b to join the files back together.
txtclean Cleans up text files by trimming spaces from start and ends of lines. Can also convert file to upper or lower case. I use this to clean lyrics files from the web.

Also included is an optional registry file. If you run it, then you will get Filer, Split, and Txtclean on the right click menu when you right click on a file. Split is set to split into 1.44 floppy size, the others will ask you for settings. Note the file assumes you put all these utilities in the folder C:\UTILS. Look at the file in a text editor if you wish to put the utilities in a different location.

Back to the top


Download Area

Monday, November 18, 2002

Utilities Set
utils.zip - 21KB The full set of utilities. Uses MFC.
Back to the top

Description ] [ Download Area ] [ Payments ]

Back to KanastaCorp

© Copyright 1996-2007 KanastaCorp. No unauthorised copying, reprinting, or distribution allowed.
No email solicitations.

Mon Feb 12 06:39:20 2007