From 50cd06c332803520027b61ee1ed47bb6e56ecf8c Mon Sep 17 00:00:00 2001 From: "a@b34f238966e58f7c2ea550cc4cab3005c0e33150" Date: Sat, 5 Dec 2015 18:17:45 +0000 Subject: [PATCH] --- doc/forum/Find_out_if_file_is_in_annex__63__.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Find_out_if_file_is_in_annex__63__.mdwn 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 -- 2.30.2