Skip to content

A simple Perl script for restoring names to recovered Canon raw files.

License

Notifications You must be signed in to change notification settings

listedegarde/rename-recovered-canon-raw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rename recovered Canon raw files

After recovering a lot of Canon raw files using testdisk, all the files had the wrong filenames, making it difficult to re-associate with the Lightroom catalogue.

To solve the problem, I made use of the Perl Exif tool by Phil Harvey:

To install:

  1. git clone https://github.com/listedegarde/rename-recovered-canon-raw.git
  2. cd rename-recovered-canon-raw/
  3. wget http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.24.tar.gz
  4. tar -zxvf Image-ExifTool-10.24.tar.gz
  5. rm Image-ExifTool-10.24.tar.gz

To run:

Where ~/Recovered/ is the directory of the recovered files.
DO NOT forget to include the trailing slash!

perl run.pl ~/Recovered/

Note that this will automatically copy and sort CR2 files into folders by year, month, and day. Example: ~/Recovered/2016/07/27/IMG_2555.CR2

About

A simple Perl script for restoring names to recovered Canon raw files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages