Hello. I'm creating a BASH script that will rename the USB stick using diskutil command. From what I've read in the man and various examples, I need to supply the volume name.
In my situation, the volume name varies so I'm hoping to use disk number (via diskutil list) instead.
Any ideas on how this can be done? thanks
In my situation, the volume name varies so I'm hoping to use disk number (via diskutil list) instead.
Any ideas on how this can be done? thanks