mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
17 lines
235 B
Bash
Executable File
17 lines
235 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for d in /dev/sd*
|
|
do
|
|
|
|
while IFS=$'\t' read -r col1 col2
|
|
do
|
|
if [[ $(blkid -o value -s UUID $d) == ${col2} ]]
|
|
then
|
|
sudo mkdir /mnt/${col1}
|
|
sudo mount $d /mnt/${col1}
|
|
fi
|
|
done < /home/kulade/.config/Scripts/drives
|
|
|
|
done
|
|
|