google / adb-sync

Apache License 2.0
1.08k stars 169 forks source link

windows 10 #44

Open sifaaa opened 4 years ago

sifaaa commented 4 years ago

Is there somewhere a version for Windows 10?

I use google translator

ptanmay143 commented 4 years ago

This did not directly work with Windows 10 binaries for Python 3 and ADB. I will be testing this using WSL 2 and will report if it works or not.

ptanmay143 commented 4 years ago

Update: I have created a gist for this to keep updated. https://gist.github.com/ptanmay143/c82744f708558483de0de37bd04cea66

So basically this is how I got adb-sync working in Windows 10 under a WSL Distribution. I am using Arch Linux. Instruction on Arch Linux WSL here: ( https://github.com/ptanmay143/arch-linux-wsl or https://github.com/yuk7/ArchWSL )

Requirements

MaskyS commented 3 years ago

On windows, one can use http://www.temblast.com/adbsync.htm. The author explains its usage here

ptanmay143 commented 3 years ago

On windows, one can use http://www.temblast.com/adbsync.htm. The author explains its usage here

Great find. Is it open source?

MaskyS commented 3 years ago

Doesn't seem so, but i think it's likely that the author might open source upon request.

On Sat, Oct 24, 2020, 1:53 AM Tanmay Pachpande notifications@github.com wrote:

On windows, one can use http://www.temblast.com/adbsync.htm. The author explains its usage here https://forum.xda-developers.com/showthread.php?t=2133312

Great find. Is it open source?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/google/adb-sync/issues/44#issuecomment-715606864, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFRISQ3IVQOGNG633PV2O6LSMH3OBANCNFSM4MQM6VAA .

ptanmay143 commented 3 years ago

The author has replied that he doesn't plan on open sourcing the utility. This issue can be closed now.

oO0oO0oO0o0o00 commented 3 years ago

Comment out the latter half of line 215:

        b'('#, b'(;  #`ls`$PATH\'"(\\\\\\\\){};!\xc0\xaf\xff\xc2\xbf'

Seems like it was intentional. No one need to be able to pass those non-text characters to command line. Maybe they just hate Microsoft.

No problem syncing files with filenames containing CJK characters. No problem syncing binary files e.g. pictures.

Tested with Win10 + powershell (by default) + Python 3.9

P.S. use slashes / instead of backslashes \ \\, like D:/Downloads/CornHubDesktop/

freemedom commented 6 months ago

@oO0oO0oO0o0o00 I have no problem using backslashes \ . python .\adb-sync -R -t -n /storage/emulated/0 C:\a\b (windows10 powershell python3)