that one crazy line

back in 2006 i wrote about a quick fix for a stupid problem. That problem was renaming a whole bunch of files that i downloaded because i did not like the naming convention the packer used. you can check it out here.

Now instead of writing something like that i just use powershell.

ls *.mp3 | ren -newname { $_.Name -replace "bad", "" }

that's a real scripting language and one crazy line.

Comments

Popular Posts