dotfiles/.local/bin/moul

4 lines
108 B
Bash
Executable File

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