diff options
author | Julian T <julian@jtle.dk> | 2018-12-21 16:55:44 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2018-12-21 16:55:44 +0100 |
commit | 749514d7c7839dc5fd383ef927723b7e1188cfc8 (patch) | |
tree | e5188118e0220c2d0566ba18bcaafe1886d9928c /Scripts/mountFstab.sh | |
parent | 5dd81779ee6a99662fda008baad4bc3ff75fc5c7 (diff) |
Added mountFstab dmenu script
Diffstat (limited to 'Scripts/mountFstab.sh')
-rwxr-xr-x | Scripts/mountFstab.sh | 7 |
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 |