#!/bin/sh
# http://www.berklix.com/~jhs/bin/.sh/nocolon
# bourne shell script by Julian H. Stacey
# See Also (and run after or before some of these in):    ~/bin/.sh/
#       nobracket nocolon nolower noquote nospace noupper
#	Run nospace Before noupper Or nolower Or nocolon
#	JJLATER Decide Priority Of nobracket And noquote And nospace

# Moves all files to filenames without : colons
# Useful before moving stuff to msdos file systems
#	(as : is a device indicator, 
#	 eg A: and B: 1st and 2nd floppy, D: and E: hard disks )
# Syntax	nocolon filename[s]
# See Also:	lower nobracket nocolon noquote nospace upper

for i in $*
do
mv "$1" `echo $1 | tr : _`
shift
done
