adb import

As well as adding the necessary methods, a few other changes to the adb
remote:

* Use ".annextmp" extension for temp files, to avoid conflict with other
  temp files.
* Stop using "echo $?" to get exit status of command inside adb.
  There were two problems; first the "echo" just before it meant it was
  always 0! And secondly, it seems kind of random on my phone whether it's
  1 or 0, not dependant on whether the command seems to have succeeded.
This commit is contained in:
Joey Hess 2019-04-09 17:52:41 -04:00
parent 1a1a5177fd
commit 7b6d0da9b8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 176 additions and 42 deletions

View file

@ -2,6 +2,11 @@ git-annex is available for Android inside Termux. This includes the
[[git-annex assistant|/assistant]], for easy syncing between your Android
and other devices. You do not need to root your Android to use git-annex.
(Alternatively, rather than installing git-annex on your Android device,
git-annex can run on your computer and use `adb` to pull and push changes
to the Android device. See [[tips/android_sync_with_adb]] for instructions
on using git-annex that way.)
[[!toc ]]
## Installation