From d61ab1853f49edaf03765ba445cc9f4ab7f0b1d4 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawnZEanlyzay_QlEAL0CWpyZcRTyN7vay8U" Date: Sat, 16 Nov 2013 08:36:21 +0000 Subject: --- ...rred_content_settings_for_my_android_phone.mdwn | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/tips/The_perfect_preferred_content_settings_for_my_android_phone.mdwn (limited to 'doc/tips/The_perfect_preferred_content_settings_for_my_android_phone.mdwn') diff --git a/doc/tips/The_perfect_preferred_content_settings_for_my_android_phone.mdwn b/doc/tips/The_perfect_preferred_content_settings_for_my_android_phone.mdwn new file mode 100644 index 000000000..700411c7a --- /dev/null +++ b/doc/tips/The_perfect_preferred_content_settings_for_my_android_phone.mdwn @@ -0,0 +1,32 @@ +I have an annex that syncs my personal files on all my computers. It works great. Phones are different. + +For one, everything's a bit slower to sync, there's battery considerations, and I just don't need every last old file on my phone. Then there's some files I explicitly don't want on my phone in case it gets lost, like family pictures, passport scans, or private keys. + +But I still want photos, videos and voice recordings I make on my phone to be synced to my server. A transfer repo would work, but I want to keep them. Then there's my PDF book collection; that would certainly be nice to always have around in case I have half on hour on a bus. And my music collection ought to be around as well. + +So I came up with this solution, and I'm very happy with it. + + 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 + +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 + +Then I went to one of my computers, and did + + git annex vicfg + +And changed the line + + content [phone-uuid] = standard + +to + + content [phone-uuid] = include=Music/* or include=Books/* or Notes/* or present + +And waited for it to sync. -- cgit v1.2.3