File: Import_options.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 (14 lines) | stat: -rw-r--r-- 906 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Thank you for adding import options to handle duplicates. Very handy when consolidating data from various sources.

Can deletion of the source files be decoupled from annex duplication/deduplication options? For example, I would like to import source files without deleting them and at the same time do not import duplicates.

Better yet, since deletion of source files is potentially dangerous, a delete option could be required for deletion to be performed. Example:

git annex import --deduplicate --delete_all_source_files
git annex import --deduplicate --delete_source_duplicates

Also, it would be great to have import "status" option which goes over files to be imported and logs their status ( to be imported, duplicate etc. ) without actually performing any changes. It would be great for testing and trial runs.

I hope the above make sense. It would make import feature more flexible.

Cheers,