forum/remembering stategit-annexhttp://git-annex.branchable.com/forum/remembering_state/git-annexikiwiki2014-05-21T18:02:51Zcomment 1http://git-annex.branchable.com/forum/remembering_state/comment_1_4a6ac5f50dfa5a17a0f0ccd0c2e7a466/Ronald2014-05-14T09:08:22Z2014-05-14T09:08:22Z
I'm still learning git-annex myself, but I think you can make a new branch 'favorites'. Sort out your favorite music and make a checkout on your external HDD and music player. In the walkthrough you can see how that works.
comment 2http://git-annex.branchable.com/forum/remembering_state/comment_2_1b02d3713a2986bc027d166589a11c3f/Xinruo2014-05-15T02:07:06Z2014-05-15T02:07:06Z
<p>I think a better solution is to use http://git-annex.branchable.com/tips/metadata_driven_views/
You can tag the files as favorites, then use get --metadata tag=favorites to get only favorites files.</p>
comment 3http://git-annex.branchable.com/forum/remembering_state/comment_3_b48775ea1e90b061b084f61a4a9baca5/joeyh.name2014-05-15T20:01:14Z2014-05-15T20:01:14Z
<p>While you can certianly use views for this, I tend to do the same with my sound files without view, but just using location tracking info. I have a set of music I'm currently listening to, and want to have more or less the same files on multiple computers as I have on my laptop. With maybe a bit more on some computers with more space. So, I do:</p>
<pre><code>git annex sync
git annex get --in darkstar
</code></pre>
<p>Where "darkstar" is the name of the repository on my laptop.</p>
<p>Another nice trick that also takes advantage of the location tracking logs is this to get back some files you dropped temporarily to free up space:</p>
<pre><code>git annex get --in='here@{yesterday}'
</code></pre>
comment 4http://git-annex.branchable.com/forum/remembering_state/comment_4_cbebcc6ed4bdae6815c0576475e96f6a/anarcat [id.koumbit.net]2014-05-21T18:02:51Z2014-05-21T18:02:51Z
i like @yesterday, that's a neat trick that would have basically resolved my problem here. thanks!