#!/usr/bin/env bash script_location=$(pwd) storage_locaction="/mnt/SMB" # Mount location of the storage device backup_location="$storage_locaction"/"$rawdata" #finlal backup location card_dev="sdb1" # Name of the storage card card_mount="/media/card" # Mount point of the storage card filecpcounter=0