Auto add target dir based on camera model

This commit is contained in:
Dmitri Popov
2018-03-17 14:11:06 +01:00
parent 58d8539069
commit 41270d5a65
4 changed files with 57 additions and 7 deletions

View File

@@ -24,10 +24,18 @@ Uncomment then the line below by removing *#*:
Save the changes.
Keep in mind that in this case, the transferred files are saved in the */home/pi/BACKUP* directory on the system storage card. Make sure that the card you use with Raspberry Pi has adequate storage capacity.
Keep in mind that in this case, the transferred files are saved in the */home/pi/[CAMERA MODEL]* directory on the system storage card. Make sure that the card you use with Raspberry Pi has adequate storage capacity.
**Important** Make sure that the camera is set to the MTP USB connection mode.
### Alternative Direct File Transfer Script
Some cameras (notably Sony Alpha models) may not work with the default direct file transfer script. In this case, try the *gphoto-backup-alt.sh* script instead by enabling the following cron job as described above:
#@reboot sudo /home/pi/little-backup-box/gphoto-backup-alt.sh > /home/pi/gphoto-backup-alt.log
This script saves transferred files in the */home/pi/BACKUP* directory.
## Usage
1. Boot the Raspberry Pi