1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00
borg/docs/misc/asciinema/basic-prepare.sh
2022-01-29 15:54:30 +03:00

6 lines
174 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
sudo rm -r /media/backup/borgdemo || true
sudo mkdir -p /media/backup/borgdemo
sudo chown "$(whoami):$(whoami)" /media/backup/borgdemo