Thanks for your article. I have been looking for a better way to upload and rename files, so I tried your "import-photos.sh" script. Unfortunately, the script has a fatal limitation.
The "exiftool" line of the script renames files only to the nearest second, so it fails with multiple files shot in "burst" mode (more than one file per second). For example:
Error: ‘./20160630–160744.ORF’ already exists — ./P6300182.ORF
I am still looking for a simple script that renames media files without errors.