I want to write data to a USB stick plugged into a specific USB port on the PI.
I know I can write to a specific USB device by using its UUID, and I know I can find the address for the USB port using lsusb however, I do not know how to then write to that port.
Is there any way of finding the UUID of a device plugged into a specific port to then address to? Or of simply addressing a specific port?
EDIT: It can be assumed that the device plugged in will only have a single partition, and it will be known which USB port it will be plugged in to.
EDIT2: Would it help if I named each drive the same?