File: Automatically_dropping_files.mdwn

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
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?