sync/scripts/unmount_general.sh

12 lines
154 B
Bash
Raw Normal View History

2022-04-28 23:36:42 +02:00
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
sshUnmount () {
args=($@)
for d in ${args[@]}; do
fusermount -u /home/fabian/$d
done
}