From 7edfb1651619db820470d2ea5ddde8fef57df67d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 4 Dec 2013 13:13:30 -0400 Subject: import: Add --skip-duplicates option. Note that the hash backends were made to stop printing a (checksum..) message as part of this, since it showed up without a file when deciding whether to act on a file. Should have probably removed that message a while ago anyway, I suppose. --- doc/git-annex.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/git-annex.mdwn') diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 9f5ff58aa..99af09e3d 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -236,6 +236,9 @@ subdirectories). use the `--deduplicate` option. Duplicate files will be deleted from the import location. + To only import files whose content has not been seen before by git-annex, + but avoid deleting duplicate files, use the `--skip-duplicates` option. + The `--clean-duplicates` option does not import any new files, but any files found in the import location that are duplicates of content in the annex are deleted. -- cgit v1.2.3