sync/scripts/unmount_general.sh

12 lines
154 B
Bash

#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
sshUnmount () {
args=($@)
for d in ${args[@]}; do
fusermount -u /home/fabian/$d
done
}