News for hackers. Stuff that matters.
Re:A Unix Utility You Should Know About: Pipe Viewer by jarekr on Tuesday February 03, 2009 @03:09AM (#463692)
Zsh has a module called zmv which lets you do things like:

zmv '(??)-(*).mp3' '$1 - ${(C)2:gs/_/ }.mp3'

Which would change "01-foo_bar_baz.mp3" into "01 - Foo Bar Baz.mp3"

There are no comments on this comment yet.