aboutsummaryrefslogtreecommitdiff
path: root/scripts/mounter.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mounter.sh')
-rwxr-xr-xscripts/mounter.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/mounter.sh b/scripts/mounter.sh
new file mode 100755
index 0000000..972b329
--- /dev/null
+++ b/scripts/mounter.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+host="192.168.0.10";
+mount_dir=~/Downloads/shared;
+
+user=artemis;
+pass=$(pass show Artemis/smb.artemis);
+
+sudo mount -t cifs //$host/public $mount_dir -o rw,username=$user,password=$pass;
+