Skip to content

Instantly share code, notes, and snippets.

View erikbye's full-sized avatar

Erik Bredvold Bye erikbye

View GitHub Profile
#!/usr/bin/env ruby
#
# Recreate Lightroom catalog by replacing corrupt files with recovered copies
#
# Keeps the directory structure and creates the new catalog in a new path,
# which means you'll need at least 3x the size of your photos of free space.
#
# Dependencies:
# - ruby
# - exiftool