I want to copy a file from my local pc into my android phone.The android phone was be read as gphoto2://[usb:001,009]/

mv  test.mp4  gphoto2://[usb:001,009]/

mv: cannot move `test.mp4' to `gphoto2://[usb:001,011]/': No such file or directory

how to copy file from my local pc into my android phone?


2 Answers 2


gphoto2://… is a URL, not a file name. Most programs expect file names, not URLs. In order to access a file, it needs to be on a mounted filesystem.

Android devices normally expose their filesystem via MTP. There are a couple of filesystems over MTP; see the Arch Wiki for some pointers. Look if your distribution has one of them packaged.

Alternatively, if you've managed to access the files over GPhoto in Gnome, you can make that available to all applications via gvfs-mount. If the gvfs-mount program is not present on your system, install the corresponding package. gvfs-mount makes all Gnome file access methods available as filesystems. Older versions make them available under ~/.gvfs, and newer ones under /run/user/1234/gvfs where 1234 is your user ID (you can see that with echo $XDG_RUNTIME_DIR — which should be /run/user/1234 — or id -u).


A reasonable way is to run an ssh server on your phone. This does require your phone to be on the net, however. That is what I am currently doing, but only to copy files from my android phone to my computer.

The SSH implementation I am using is SimpleSSHD. The instructions on that site should suffice for you to run SimpleSSHD on your phone. It is also on Google Play.

Once you have ssh working, you can use rsync to copy files back and forth.

This appears to be entirely a free software project, is easy to set up, and has worked flawlessly for me so far. The author has included a tarball of his git repository on his web page, but I do not see a link to the actual "live" repository, which is more standard.

NOTE: I'd like to give the author a review on Google Play, but unfortunately Google requires one to create a Google Plus account to do that, which I don't want you to do. If you already have a Google Plus account or don't mind creating one, I encourage you to add a review; there are not many so far.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .