diff --git a/doc/forum/Unlocked_directory__63___Having_all_its_new_files_unlocked/comment_7_c6f1dd606d2aa9aa473cdd3a6d92bd33._comment b/doc/forum/Unlocked_directory__63___Having_all_its_new_files_unlocked/comment_7_c6f1dd606d2aa9aa473cdd3a6d92bd33._comment new file mode 100644 index 0000000000..430c3779b6 --- /dev/null +++ b/doc/forum/Unlocked_directory__63___Having_all_its_new_files_unlocked/comment_7_c6f1dd606d2aa9aa473cdd3a6d92bd33._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 7""" + date="2021-09-06T19:50:02Z" + content=""" +The annex.addunlocked config is able to do this, since version 7.20191230. +It can be set to a [[git-annex-matching-expression]] +eg "include=wiki/*" would make files in the top-level wiki directory always +be added unlocked, and other files would be added locked. +Matching on file extensions etc is also possible. +"""]]