BASH, multiple arrays and a loop.
- by S1syphus
At work, we 7 or 8 hardrives we dispatch over the country, each have unique labels which are not sequential.
Ideally drives are plugged in our desktop, then gets folders from the server that correspond to the drive name.
Sometimes, only one hard drive gets plugged in sometimes multiples, possibly in the future more will be added.
Each is…