-
Hello, I have used rsync in Termux to synchronise a copy of my library for ages and up until Android 12 everything worked fine (i.e. on Android 5, 6, 8 and 10). But now I got this new Note10+ phone with Android 12 and run into a serious problem. If I store books in
and the thing is -- I can manually rename files in the same directory!
so the rsync command is doing something other than what mv does (I suppose I could ltrace both to find out). Any ideas how to make rsync work in Termux in Android 12? The microsd is formatted as exFAT (using Linux mkfs.exfat). The rsync options I use are |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh, I found a workaround -- Of course I understand the dangers of |
Beta Was this translation helpful? Give feedback.
Oh, I found a workaround --
--inplace
option of rsync! If I pass it (in either direction) then rsync does not create temporary files in the destination and everything works perfectly on Android 12!Of course I understand the dangers of
--inplace
, but I think if one is careful, i.e. always checks that everything is completed correctly, then no corrupted "half-copied" files should ensue.