Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Conversation

@mydongistiny
Copy link

When trying to use --times to push files back to a device it fails with the error:

touch: bad '20190519.083235'
INFO:root:Total: 23412 KB/s (1256329659 bytes in 52.402s)
Traceback (most recent call last):
  File "./adb-sync", line 883, in <module>
    main()
  File "./adb-sync", line 877, in main
    syncer.PerformCopies()
  File "./adb-sync", line 646, in PerformCopies
    self.dst_fs[i].utime(dst_name, (s.st_atime, s.st_mtime))
  File "./adb-sync", line 312, in utime
    raise OSError('touch failed')
OSError: touch failed

because of the current versions of toolbox used on Android devices. So this change fixes the format.

When trying to use --times to push back to a device
it fails because of the current versions of toolbox
used on Android devices.

Signed-off-by: mydongistiny <jaysonedson@gmail.com>
@lingnand
Copy link

Just encountered this and implemented the exact same fix myself. Could we get this merged in so ppl don't waste effort again?

@rubaboo
Copy link

rubaboo commented Dec 5, 2019

Merge please!

Razerban added a commit to Razerban/adb-sync that referenced this pull request Dec 16, 2019
aviallon pushed a commit to aviallon/adb-sync that referenced this pull request Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants