adb: Added configuration setting oldandroid=true
To avoid using find -printf, which was first supported in Android around 2019-2020. Probing seems too fragile, and execing stat once per file is too slow to do when there's a faster way available, which brought me to an option... Sponsored-by: Brett Eisenberg on Patreon
This commit is contained in:
parent
6c7550ba62
commit
50c2cac7e7
5 changed files with 59 additions and 10 deletions
|
@ -72,3 +72,4 @@ http://git-annex.branchable.com/tips/android_sync_with_adb/#comment-88511cef6861
|
|||
### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
|
||||
git annex has been great so far, aside from some pitfalls on some of the more advanced features, i have been using it to manage my files using all kinds of special and non special remotes very solidly for 2 years now.
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 3"""
|
||||
date="2022-07-13T19:18:13Z"
|
||||
content="""
|
||||
Ok, I've added an oldandroid=yes configuration to fix this. To enable it:
|
||||
|
||||
git-annex enableremote android oldandroid=yes
|
||||
|
||||
(Replace "android" with whatever name you used for the adb remote.)
|
||||
|
||||
I don't much like this, but it's better than git-annex being slow with new
|
||||
phones, and being slow with old phones is better than failing when there are
|
||||
too many files to import. I did consider trying to auto-probe it from the
|
||||
error message, but that seemed likely to be too fragile.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue