Maybe this is answered already, I'm not quite sure what to search for. I have tried, but so far I found nothing that's directly related to my issue:
I have an Android phone, a Nexus 6P. I plug it to my computer, select the ”Transfer files” option in my phone and I open Thunar. There it is and I can access all my files and copy them back and forth, so no problem in that aspect. However, the address to the phone in Thunar's address field is ”mtp://Huawei_Nexus_6P_xxx” (the ”xxx” seems to be the same random looking alphanumerics every time).
My problem is that I want to write a script that copies a certain file from my computer to the phone, and for that I want the address to the phone to be the same every time, just to keep things simple.
Is this possible to use the ”mtp://” address above in a script or terminal? Do I need to install anything? What? I already have mtpfs installed (probably a part of the system; I don't remember installing it), can I use that for this? How?