From 82df70eff06e7b44ee84283070d7f801f7fc1d92 Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sat, 6 Nov 2021 20:25:45 -0400 Subject: initial commit --- .local/bin/mount-media | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/mount-media (limited to '.local/bin/mount-media') diff --git a/.local/bin/mount-media b/.local/bin/mount-media new file mode 100755 index 0000000..e748941 --- /dev/null +++ b/.local/bin/mount-media @@ -0,0 +1,6 @@ +#!/bin/sh +# Uses sshfs to locally mount media directories +# Check if the media computer is reachable and if so mount the media +ping -W 0.01 -c 1 prometheus >/dev/null && \ + sshfs sisko@prometheus:/mnt/raid/media/ $HOME/media/prometheus/ + -- cgit v1.2.3