Sailfish OS ‑ Command Line Interface & Customisation
MTP (the same protocol Android devices use) will expose the /home/nemo folder to the connecting computer, both to graphical and command line applications. But it hides some files and folders from the connected system. A more powerful way is to connect through a terminal via SSH, as explained here.