summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@pjones.dk>2022-06-21 11:21:34 +0200
committerSiri Reiter <siri@pjones.dk>2022-06-21 11:21:34 +0200
commite1648da244e8d28b6dd98454923fe5be3803edb4 (patch)
tree2d3f92d9fd0270cd6ef2d7235bca7f74699654ee
parent9a3bfcf804e3fa5f36b0d1d55bb590f03f227085 (diff)
describe setupmain
-rw-r--r--SETUP.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/SETUP.md b/SETUP.md
index 944ba27..21f236b 100644
--- a/SETUP.md
+++ b/SETUP.md
@@ -1,4 +1,17 @@
# Setting up media masters syncronized with Android
-FIXME: document setting up git-annex
-with syncing of subdir "incoming" to Android device.
+Use an already initialized git-annex repository.
+
+Then set up a special remote
+that accesses an Android phone via ADB,
+constrained to files below the "DCIM" directory:
+```
+git-annex initremote android type=adb androiddirectory=/sdcard/DCIM encryption=none exporttree=yes importtree=yes
+```
+
+Finally configure git-annex
+to syncronize between that special remote
+and local directory "incoming":
+```
+git config remote.phone.annex-tracking-branch main:incoming
+```