File: Automatically_dropping_files.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (7 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
I can make `git-annex` automatically fetch files with the [[/preferred content]] setting and the `--auto` flag, and it works almost exactly like I expect it to work.

What I am missing is a way to make `git annex drop --auto` drop all files that are not wanted.

I would like to work with metadata and tags in such a way that I can have clones (with views) that have only exactly those files available which carry a tag (done), and all other files automatically removed from the annex (unless that would be unsafe).

Does anyone know how to achieve this?