aboutsummaryrefslogtreecommitdiff
path: root/bin/wd-bak
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 17:23:42 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 17:23:42 -0500
commite1096db47d332f2e4bfb4f38d262bb94e69d9ad5 (patch)
tree1b26b1fedacd307a115cb3a963c8cc8a60a18e96 /bin/wd-bak
parenttypo (diff)
set exec and stuff
Diffstat (limited to 'bin/wd-bak')
-rwxr-xr-xbin/wd-bak14
1 files changed, 0 insertions, 14 deletions
diff --git a/bin/wd-bak b/bin/wd-bak
deleted file mode 100755
index f824fba..0000000
--- a/bin/wd-bak
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-wd-mount
-
-if ! mount | grep /media/wd-bak > /dev/null ; then
- echo "/media/wd-bak not mounted"
- exit 1
-fi
-
-rsync -avhHP --delete-after /media/t/ /media/wd-bak
-
-sudo umount /media/wd-bak
-sudo cryptdisks_stop wd-bak
-sudo cryptdisks_stop wd-bak-work