Google Nexus device in the filesystem
I got a Google Nexus tablet that I can manage with Nautilus (Ubuntu) / Thunar (Manjaro). However, it would be nice to manage this device with Midnight Commander too.
If the graphical file manager shows the address “
mtp://[usb:007,005]/” for instance, then you will find it in the file system at “
However, if you connect the device to a different USB port, the address will be different from “
To enter the root directory of the device, I have the following script:
#!/usr/bin/env bash cd /run/user/1000/gvfs/ cd `ls` cd "Belső tárhely"
How to call it in the command line: “
. nexus“. The script is called “
nexus” in my case. Notice the “
.” in front of it, which is an abbreviation for the command “