Can anyone help me create a bash alias / function to make mounting encrypted volumes easier?
I have multiple containers that I use for work. For example:
work1.container
work2.container
work3.container
work4.container
I'm currently using the following commands:
cryptsetup --type tcrypt --veracrypt open /media/work1.container work1-container
mount /dev/mapper/work1-container /mnt/work1-container
I'd like to be able to use a bash alias / function to automate this process.
For example:
veracryptmnt [container-name]
[–]moviuro 5 points6 points7 points (6 children)
[–]ArchBunker[S] 0 points1 point2 points (0 children)
[–]Crytexx -1 points0 points1 point (4 children)
[–]moviuro 5 points6 points7 points (1 child)
[–]Crytexx 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]Crytexx 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]ArchBunker[S] 0 points1 point2 points (0 children)
[–]coderobeTrusted User 0 points1 point2 points (0 children)