Here is list of my personnel how to, it's mostly for me to help me remember how I at some point figure out how to do something...
PS: if you like to contribute to my How To blog, let me know and I will give you access to do so.
Friday, March 16, 2007
How to Batch Change file names under tcsh
## example: for each file ending by .jpg, replace any spaces with underscores
foreach i (*.jpg*) echo $i > /tmp/nom set j=`sed -e '1,$s? ?_?g' /tmp/nom` mv "$i" "$j" \rm /tmp/nom end