From: a@b34f238966e58f7c2ea550cc4cab3005c0e33150 Date: Sat, 5 Dec 2015 18:17:45 +0000 (+0000) Subject: (no commit message) X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~322^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=50cd06c332803520027b61ee1ed47bb6e56ecf8c;p=git-annex.git --- diff --git a/doc/forum/Find_out_if_file_is_in_annex__63__.mdwn b/doc/forum/Find_out_if_file_is_in_annex__63__.mdwn new file mode 100644 index 0000000000..9d46808400 --- /dev/null +++ b/doc/forum/Find_out_if_file_is_in_annex__63__.mdwn @@ -0,0 +1,8 @@ +Hi, + +I am currently trying to move nearly all of my files into git-annex, and I was wondering if there is a (plumbing-level?) way to easily figure out if a file I find on a random hard disk is already contained in my annex repository? + +I.e., is there an easy way to compute the key for a file (which is not in an annex) and look up if the file is already contained in a given annex repository? I've looked a bit at the plumbing-level commands but none seem to exactly fit the bill :-/ + +Cheers, +Alex