The thing is, I use an external drive attached to my Linux laptop and every time I plug it in, it ends up assigned to a different device (e.g. /dev/sda, /dev/sdd...).
Yeah! I know I can address that by using fstab/UUID but I wanted to take this as an opportunity to improve my bash scripting skills.
Here is the script I've created. It uses jq so make sure it is installed on your machine and change the config variables as you please.
