new feature: do not import new files

This commit is contained in:
http://svario.it/gioele 2014-07-12 14:18:59 +00:00 committed by admin
parent 68455bbe4e
commit df53f96063

View file

@ -0,0 +1,5 @@
Right now `git annex import DIR/*` will import all the files in DIR, both those that are already known to git-annex and those that are new. Using the option `--skip-duplicates` one can import only new files that are in DIR but unknown to git-annex.
It would be nice if there were an opposite `--only-duplicates` option that could be used to import only the files that are already known to git, ignoring the new files in DIR.
PS: it would also be nice to have aliases like `--only-new-files` and `--skip-new-files` for `--skip-duplicates` and `--only-duplicates`.