tips/The perfect preferred content settings for my android phonegit-annexhttp://git-annex.branchable.com/tips/The_perfect_preferred_content_settings_for_my_android_phone/git-annexikiwiki2013-12-31T19:26:36Zcomment 1http://git-annex.branchable.com/tips/The_perfect_preferred_content_settings_for_my_android_phone/comment_1_393d1636bb313530be383a075bd3440a/joeyh.name2013-11-27T22:47:37Z2013-11-16T17:29:03Z
<p>That's great, that's how I hoped people would be able to use preferred content settings.</p>
<p>I'd suggest adding support for archive directories to this. So if you create a file on the phone and are done with it, you can move it to an archive directory, and it will then be dropped from the phone once it reaches an archive repository.</p>
<p>This should accomplish that. (Untested)</p>
<p><code>((exclude=*/archive/* and exclude=archive/*) or (not (copies=archive:1 or copies=smallarchive:1))) and (include=Music/* or include=Books/* or present)</code></p>
Pulling *.flac files as well... too much datahttp://git-annex.branchable.com/tips/The_perfect_preferred_content_settings_for_my_android_phone/comment_2_51a013213118660bdc06ff4d6c8110ba/Chad2013-12-31T19:26:36Z2013-12-31T19:26:36Z
<p>I've tried setting up my own phone in a similar manner. Unfortunately for me, I store my <code>*.flac</code> files in the same location as my <code>*.mp3</code> files. For obvious reasons, I do not want to copy these up to my phone. This, however, is not working for me.</p>
<pre><code>content PHONEUID = ((exclude=*/archive/* and exclude=archive/*) or (not (copies=archive:1 or copies=smallarchive:1))) and (include=keepass/* or include=Books/* or present) and (include=Music/* and exclude=Music/*.flac and exclude=Music/*/*.flac)
</code></pre>
<p>I still get <code>*.flac</code> files in the repo.</p>