Recovering Deleted Photos from an SD card with PhotoRec

Whilst on holiday recently I was using Shotwell (the rather excellent photo manager for Ubuntu) to import some photos. After importing the photos Shotwell asks if you want to delete the imported photos from the card. Without thinking, I absently-mindedly said yes. What I'd missed was I'd not separately imported…