THE BOOK cover
The Unwritten Book is Finally Written!
An in-depth analysis of: The sacrifice bunt, batter/pitcher matchups, the intentional base on balls, optimizing a batting lineup, hot and cold streaks, clutch performance, platooning strategies, and much more.
Read Excerpts & Customer Reviews

Buy The Book from Amazon


SABR101 required reading if you enter this site. Check out the Sabermetric Wiki. And interesting baseball books.
MOST RECENT ARTICLES
MAIL : You ask | We say

Advanced


THE BOOK--Playing The Percentages In Baseball

<< Back to main

Friday, January 02, 2009

Renaming multiple files in UNIX

Just thought I’d put it out there for those in the same position as I was:

for i in *old*; do mv $i `echo $i | sed 's/old/new/'`; done

This renames all file names that have “old” in it to “new”.  Be careful between the two different kinds of tick marks.  One is next to the number 1 on your keyboard, and the other is next to the enter key.


(4) Comments • 2009/01/03 • Web Admin
Page 1 of 1 pages

<< Back to main