dotfiles/.local/bin/moul

4 lines
108 B
Plaintext
Raw Normal View History

#!/bin/sh
# Mount a partition by label automatically
2020-12-27 12:54:06 +00:00
sudo mount -o rw,X-mount.mkdir -L "$1" "${2:-/mnt/$1}"