Here’s a slightly obscure tip that’s worth sharing becasue it could literally save you from a lost photo library. If you use Lightroom, Adobe has a “secret” script you can download that extracts the JPG images from your previews. Why would you want to do this? Say you lose the hard drive with all your original RAW photos on it, or you just get drunk one night and wake up in the morning to find you deleted your Lightroom folder.
This script will rescue you.