My MTP device auto mounts on the desktop every time I boot or re connect the camera via usb.The problem is my code to copy files does not work unless the MTP device is first unmounted from the desktop.How can I do this from the command line?I can retrieve both BUS and Device #'s.
Unmount MTP device via command line
usb;unmounting;mtp