#!/usr/bin/env bash script_location=$(pwd) storage_locaction="/share/fotos/" # Mount location of the storage device backup_location="$storage_locaction"/"$rawdata" #finlal backup location card_dev="mmcblk0p1" # Name of the storage card card_mount="/media/card" # Mount point of the storage card backup_dev="sdb1" # Name of the Backup device backup_mount="/media/extbackup" # Mount point of the Backup device filecpcounter=0