File: Import_options.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
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,