I want to be able to find which SSD contains a particular file without manually plugging in and trying each drive.
I'm considering to index each SSD as a text file, which can be grep
'd to find the SSD in question:
# index like this
cd /media/storage/ssd_name
find > ~/Desktop/SSDs/ssd_name
# search like this
cd ~/Desktop/SSDs
grep "file name"
This feels like reinventing the wheel. Is there a better way to do this?