Skip to content

Instantly share code, notes, and snippets.

@ljm42
ljm42 / PhotoImport.sh
Last active Jun 28, 2021
unRAID - automatically move photos to array
View PhotoImport.sh
#!/bin/bash
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
## Usage (after configuration):
## 1. Insert camera's memory card into a USB port on your unRAID system
## 2. The system will automatically move (or copy) any images/videos from the memory card to the array
## If jhead was installed, it will automatically rotate images according to the exif data
## 3. Wait for the imperial theme to play, then remove the memory card
## Preparation: