Rename Underscore
URL: http://www.poirrier.be/~jean-etienne/software/renameunderscore/index.php
Last modification on November 3rd, 2008 (original version: November 1st, 2008)
Introduction
RenameUnderscore is a small free software to rename all the files in the same directory which have an underscore as first character. It will replace this underscore with letter "I".
This is very useful for Canon cameras users where pictures taken in automatic mode are named "IMG_xxx.JPG" and pictures taken in manual mode are named "_MG_xxx.JPG". With RenameUnderscore, all your pictures filenames begin with the letter I, allowing you to easily sort them.
Python and Java versions work under GNU/Linux and MS-Windows (with Python or Java installed, of course). Bash version needs Bash shell (usually under GNU/Linux only).
Download
- Python version: renameUnderscore.py (1kb, source code included). Requirement: Python has to be installed on your computer (free download).
- Java version: renameUnderscore.jar (3kb, source code, 1kb). Requirement: Java has to be installed on your computer (free download too).
- Bash version: just put this line in a script:
for i in _MG*; do mv $i I${i#_}; done(thanks, Philippe).
Save this page in del.icio.us