This commit is contained in:
parent
755a152979
commit
703d72e493
1 changed files with 7 additions and 7 deletions
|
@ -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.
|
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:
|
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
|
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
|
cd /sdcard/annex
|
||||||
git config annex.uuid
|
git config annex.uuid
|
||||||
|
|
||||||
Then I went to one of my computers, and did
|
Then I went to one of my computers, and did
|
||||||
|
|
||||||
git annex vicfg
|
git annex vicfg
|
||||||
|
|
||||||
And changed the line
|
And changed the line
|
||||||
|
|
||||||
content [phone-uuid] = standard
|
content [phone-uuid] = standard
|
||||||
|
|
||||||
to
|
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.
|
And waited for it to sync.
|
||||||
|
|
Loading…
Reference in a new issue