so i am wondering how better to remember the state of a repository.
the use case is this: i have this part of my music collection which i consider to be my "favorites". i would like to have only those on an external hard drive, but also on my portable music player. so i cloned my main music collection to the external hard drive and did git annex get
on the files i wanted there. now i want to replicate that to the music player - how would i go around doing that? if i clone that repo again, it will all have empty symlinks and i would have to reproduce the same process all over again, which i can script, but it seems a little quirky...
ideas? --anarcat
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.
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:
Where "darkstar" is the name of the repository on my laptop.
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: