mtp is media transfer protocol. These devices are mounted in /run/user/$UID/gvfs/mtp*
/run/user/0/gvfs/mtp\:host\=%5Busb%3A002%2C075%5D/Internal\ storage/Documents/
we can copy into this location
just use back slash (\) before spaces in file name (if you have spaces)) in cp command.
Similar way, you can use scp to copy from remote location
Examples :
/run/user/0/gvfs/mtp\:host\=%5Busb%3A002%2C075%5D/Internal\ storage/Documents/
we can copy into this location
just use back slash (\) before spaces in file name (if you have spaces)) in cp command.
Similar way, you can use scp to copy from remote location
Examples :
cp /root/Documents/perl.pdf /run/user/0/gvfs/mtp\:host\=%5Busb%3A002%2C075%5D/Internal\ storage/Documents or scp 192.168.0.99:/root/Documents/perl.pdf /run/user/0/gvfs/mtp\:host\=%5Busb%3A002%2C075%5D/Internal\ storage/Documents/
No comments:
Post a Comment