summaryrefslogtreecommitdiff
path: root/Scripts/mountFstab.sh
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2018-12-21 16:55:44 +0100
committerJulian T <julian@jtle.dk>2018-12-21 16:55:44 +0100
commit749514d7c7839dc5fd383ef927723b7e1188cfc8 (patch)
treee5188118e0220c2d0566ba18bcaafe1886d9928c /Scripts/mountFstab.sh
parent5dd81779ee6a99662fda008baad4bc3ff75fc5c7 (diff)
Added mountFstab dmenu script
Diffstat (limited to 'Scripts/mountFstab.sh')
-rwxr-xr-xScripts/mountFstab.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Scripts/mountFstab.sh b/Scripts/mountFstab.sh
new file mode 100755
index 0000000..c778750
--- /dev/null
+++ b/Scripts/mountFstab.sh
@@ -0,0 +1,7 @@
+
+tomnt=$( cat /etc/fstab | grep mnt | sed "s:.* \(/mnt/[^ ]*\) .*:\1:g" | dmenu )
+
+mount $tomnt
+st -e ranger $tomnt
+sync
+umount $tomnt