diff options
author | julian T <julian@jtle.dk> | 2019-01-27 21:32:21 +0100 |
---|---|---|
committer | julian T <julian@jtle.dk> | 2019-01-27 21:32:21 +0100 |
commit | 4430e87d4890f2c650a895d79948501b3d4098a3 (patch) | |
tree | 8555ab1ca8e23fa67e2001937d70a0cbfe829dfd /Scripts/mountFstab.sh | |
parent | 7337083a2ac6d1ec68b8fd021833d6c225566460 (diff) | |
parent | c5fbdbbcc59f78d53b21faaa5f8c97abd63e843a (diff) |
Merge https://github.com/jbjjbjjbj/newDotFiles
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 |