Originally Posted by iamelton
judging from the toybox touch help, the syntax MiX uses should be correct..
thus i think its the toybox implementation in your ROM that has bug with milli-second parts..
Not only with milliseconds. It does not report an error if you omit the part with .xy, but doesn't work either! Copy timestamp using -r switch works fine, but not -t which is quite standard. It uses current timestamp!
Can anyone who has a non-Motorola device test if toybox is working fine for him? My guess is that toybox is broken everywhere.
Please type the following commands:
# touch -t 201703220547 2
# ls -l 2
-rw-rw---- root sdcard_rw 0 2017-06-05 23:55 2
The file 2 gets created. The date should show March if the command is working fine.
Please make sure not to have BusyBox in the path, otherwise the touch will be taken from there.