This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U 2013-11-16 08:38:17 +00:00 committed by admin
parent 755a152979
commit 703d72e493

View file

@ -6,27 +6,27 @@ But I still want photos, videos and voice recordings I make on my phone to be sy
So I came up with this solution, and I'm very happy with it.
include=Music/* or include=Books/* or present
include=Music/* or include=Books/* or present
This will sync my music and book collections to my phone whenever I add something new on my computers, and it will sync and keep anything I add to the annex on my phone. Best of all worlds! Impressed how flexible preferred content is. More full-sync folders can be added like this:
include=Music/* or include=Books/* or Notes/* or present
include=Music/* or include=Books/* or Notes/* or present
To add them, I first had to figure out the uuid of my phone repo. So I added a new tab on android, and did
cd /sdcard/annex
git config annex.uuid
cd /sdcard/annex
git config annex.uuid
Then I went to one of my computers, and did
git annex vicfg
git annex vicfg
And changed the line
content [phone-uuid] = standard
content [phone-uuid] = standard
to
content [phone-uuid] = include=Music/* or include=Books/* or Notes/* or present
content [phone-uuid] = include=Music/* or include=Books/* or Notes/* or present
And waited for it to sync.