#!/bin/bash parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) source "$parent_path/account" source "$parent_path/bucket" FOLDER='restic_mount' echo 'Mounting '$RESTIC_BUCKET restic mount -r b2:$RESTIC_BUCKET /home/drudoo/$FOLDER