14

I'm on Windows 10 and trying to sync my music folder with the one on my LG G5. My plan is to use robocopy /mir, but I don't know how to write out a path to the directory on my phone. The phone's set to file transfer mode, so I can navigate to it in Windows Explorer through This PC > G5 > Internal storage. But there's not a drive letter or anything so I'm not sure what the command line path is. Is this even possible?

Since someone asked, the list volume command in diskpart outputted the following:

Volume ###  Ltr  Label        Fs     Type       Size     Status     Info
----------  ---  -----------  -----  ---------  -------  ---------  --------
Volume 0     D                       DVD-ROM        0 B  No Media
Volume 1                      NTFS   Partition   350 MB  Healthy    System
Volume 2     C                NTFS   Partition   439 GB  Healthy    Boot

As you can see, the phone isn't listed.

6
  • What shows Diskpart on commandline?
    – Tech-IO
    Dec 19, 2016 at 6:52
  • @GiaRui I'm not very familiar with diskpart. What command(s) would help me answer your question? Dec 19, 2016 at 7:53
  • Go to "start" in search type "cmd" right click on it and start as Administartor. Then type in the commandline Diskpart, as Diskpart is ready, type "list volume" to see the devices(partitions).
    – Tech-IO
    Dec 19, 2016 at 10:25
  • @GiaRui I've added that output. Dec 21, 2016 at 8:06
  • Why robocopy when you could use a more intuitive GUI based SYNCTOY SYNCTOY. I presume this will match your requirements more in this case
    – pulsarjune
    Dec 21, 2016 at 8:11

1 Answer 1

11

No, this is not possible. You’re accessing the phone using MTP or PTP. They are not filesystem access protocols but rather object storage protocols. The objects just happen to have a 1:1 mapping to files on your phone.

Somebody asked a related question, How do I access MTP devices on the command line in Windows? The answer is:

Unfortunately, APIs exposed by MTP are very different from a normal filesystem APIs. Therefore exposing MTP device as a read/write filesystem is not possible.

Of course, this also applies to all GUI tools that are not explicitly MTP-aware.

You must log in to answer this question.

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