summaryrefslogtreecommitdiff
path: root/SETUP.md
blob: 21f236bc7082a1ff1c174f08c31fe7f71834c088 (plain)

Setting up media masters syncronized with Android

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