android - How to use adb pull with a directory name containing ® -
i backup photoshop touch files using adb pull in windows bat file. problem photoshop touch (using save gallery) stores files in /storage/sdcard0/pictures/adobe® photoshop® touch. cannot figure out how represent name special character.
adb pull -a "/storage/sdcard0/picturesadobe® photoshop® touchadb" gives:
remote object '/storage/sdcard0/pictures/adobe½ photoshop½ touch' not exist
adb shell ls "/storage/sdcard0/pictures gives:
adobe® photoshop® touch screenshots
(actually special character appears different in cmd shell. copied there above.)
i tried adb shell ls /storage/sdcard0/pictures/adobe*/. | tr -s "\n\r" "\0" | xargs --verbose --null --max-args=1 adb pull -a gives:
c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1360025632957.p ng' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1361031995178.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1378048402699.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1378649769043.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1378651034186.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1378651833677.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1389200848310.j pg' not exist c:\android\platform-tools\adb pull -a remote object '/storage/sdcard0/pictures/adobe® photoshop® touch/1417468827724.j pg' not exist
again, ® looks different in cmd shell, above pasted. have guessed work doesn't use special characters input. problem may tr, cygwin.
the problem seems how different parts handle ®. don't know other way name must entered in bat file.
any appreciated. thank you.
Comments
Post a Comment