This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawkjvjLHW9Omza7x1VEzIFQ8Z5honhRB90I 2011-01-27 05:59:26 +00:00 committed by admin
parent db9f44c8c7
commit 346ade8de5

View file

@ -4,7 +4,7 @@ I've been enjoying using git-annex to archive my data.
It's great that, by using git-annex and the SHA1 backend, I get a space-saving kind of deduplication through the symbolic links.
My question is, is there a frontend by which I can look at some files and only store the ones that are not already in the repository? That would help me in terms of personal file organization.
I'm looking for the ability to filter files, before they get added to the annex, so that I don't add new files whose content is already in the annex.look That would help me in terms of personal file organization.
It seems there is not, so this is a wishlist bug filed so that maybe such a thing might exist. What I would really like to do is:
@ -20,3 +20,7 @@ to remove the files that didn't get annexed in this run. That way, only one file
I want this because I have copies of various of mine (photos, in particular) scattered across various hard disks. If this feature existed, I could comfortably toss them all into one git annex that grew, bit by bit, to store all of these files exactly once.
(I would be even happier for "git annex add --unlink-duplicates .")
(Another way to do this would be to "git annex add" them all, and then use a "git annex remove-duplicates" that could prompt me about which files are duplicates of each other, and then I could pipe that command's output into xargs git rm.)
(As I write this, I realize it's possible to parse the destination of the symlink in a way that does this..)