summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSJP/farm <st33v@f3rr3t.com>2018-01-07 11:51:30 +1100
committerSJP/farm <st33v@f3rr3t.com>2018-01-07 11:51:30 +1100
commit3346f06aabe0fdd84df220e9151000a66ea01f6e (patch)
tree4ad55ac53da6226a5f5f6fbca863e73e4a9091b6
parenta47b334de67241a446de48aa22ca31e5e01b4c7a (diff)
Documented definitions of STAN and WALRUS
-rwxr-xr-xrsync2eye.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/rsync2eye.sh b/rsync2eye.sh
index e3a4a28..e5e9742 100755
--- a/rsync2eye.sh
+++ b/rsync2eye.sh
@@ -1,7 +1,16 @@
#!/bin/bash
-# script to backup pix to walrus
+# script to backup pix drom stan to walrus
# SJP 4 April 2017
-
+# Stan is the boss of all raspberry pis in my LAN. He is named after
+# my imaginary STANdard poodle, who will also be a cattle dog. Thus Stan
+# is in charge of all the other devices and keep strack of what they
+# are doing.
+#
+# Walrus is a NAS (Network-Attached Storage). It is a Synology 2-disk model
+# that looks a bit like a beached whale but its whiteness made me think
+# of a walrus tusk.
+# I'm not always at stan's house, and walrus comes with me when I travel. So
+# I have to include local config settings.
# Move files from Stan
# https://logbuffer.wordpress.com/2011/03/24/linux-copy-only-certain-filetypes-with-rsync-from-foldertree/
@@ -40,6 +49,7 @@ difftimelps=$(($termin-$begin))
echo "$(($difftimelps / 60)) minutes and $(($difftimelps % 60)) seconds elapsed to copy from Stan."
# Is walrus mounted already?
+# This bit doesn't work too well. I need to mount as sudo.. hmmm
mountpoint -q ${walrusmountpoint}
if [ $? -eq 1 ]; then
echo "Mounting walrus/pix to ${walrusmountpoint}."