Created
May 22, 2015 16:17
-
-
Save kabakaev/87a8d45502efe216a22d to your computer and use it in GitHub Desktop.
rename canon photo camera files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -x | |
| echo 'Canon flash card JPG file names will be fixed.' | |
| echo 'Namely, the leading underscore _ will be replaced with I.' | |
| echo 'I.e., _MG will be replaced with IMG in current folder.' | |
| for i in _* ; do mv $i I${i#*_} ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment