You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
lsblk
|
|
echo ""
|
|
if [ ! -z $1 ]
|
|
then
|
|
mkdir -p ~/Mounts
|
|
mkdir -p ~/Mounts/$1
|
|
sudo mount /dev/$1 ~/Mounts/$1
|
|
else
|
|
echo ""
|
|
echo "Input 'NAME' to mount in ~/Mounts/'NAME'"
|
|
fi
|