Tuesday, January 28

Mac OS X Hints - One-line batch file renamer If you want to batch rename a bunch of files (say "foo*.jpg" to "bar*.jpg"), you might think you could just do "mv foo*.jpg bar*.jpg" in the Terminal. However, this doesn't work right since the shell expands each argument before the execution occurs. However, there's a cool way to accomplish the same result with a (more complex) command line argument.


<< Home

This page is powered by Blogger. Isn't yours?