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

Filter posts by...

 

Friday, January 02, 2009

Renaming multiple files in UNIX

By Tangotiger, 11:33 AM

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

Latest...

COMMENTS

Feb 10 13:49
Performance through the ages

Feb 10 13:47
Win expectancy charts used in football… in 1983!

Feb 10 13:38
MGL: Today on Clubhouse Confidential

Feb 10 13:12
New PECOTA

Feb 10 12:17
Dwight Evans

Feb 10 11:40
Turbo Tax: the Netflix of tax software?

Feb 10 10:45
Psst… wanna intern in Canada?

Feb 10 09:25
For Your Soul

Feb 10 01:43
The will of the people?

Feb 10 00:36
Correlation of pitcher metrics: FIP strikes again

THREADS

January 02, 2009
Renaming multiple files in UNIX