todo/unlock --jsonyohhttp://git-annex.branchable.com/todo/unlock_--json/git-annexikiwiki2017-10-30T19:12:36Zcomment 1http://git-annex.branchable.com/todo/unlock_--json/comment_1_4cd41dca533de8147027eeb9a8ad89db/joey2016-10-31T18:14:57Z2016-10-31T18:04:04Z
<p><code>git annex unlock</code> only operates on files that are symlinks and link to
.git/annex/objects.
I don't think that <code>find</code> provides a way to check the link target
of a symlink, so you'd have to write a program to do it. I suppose
that <code>git annex find --locked</code> could be made to do that.</p>
<p><code>git annex unlock</code> often has to make a copy of the content of a file,
which would be the majority of its IO. Only if you're using
<code>annex.thin</code> with v6 might it not need to copy the file, and then a batch
mode could speed it up. Are you?</p>
comment 2http://git-annex.branchable.com/todo/unlock_--json/comment_2_f00fda45d300ce14a5ea6fd32a20defe/joey2017-10-30T19:12:36Z2017-10-30T18:40:53Z