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 12 00:40
Clutch analogy

Feb 12 00:38
Reader Mail of the Day: Why do we need X years of fielding data?  And what about outliers?

Feb 11 22:08
Who is Jeremy Lin?

Feb 11 20:11
Fighting leads to goals?

Feb 11 19:55
Why do players get crappy caps?

Feb 11 19:12
Hero of the month: Brittney Baxter

Feb 11 17:59
MGL: Today on Clubhouse Confidential

Feb 11 10:29
Dwight Evans

Feb 11 02:12
Performance through the ages

Feb 10 23:01
For Your Soul

THREADS

January 02, 2009
Renaming multiple files in UNIX