forum/Some files missing extension in annexgit-annexhttp://git-annex.branchable.com/forum/Some_files_missing_extension_in_annex/git-annexikiwiki2019-01-21T15:42:51Zcomment 1http://git-annex.branchable.com/forum/Some_files_missing_extension_in_annex/comment_1_12ab578a4390c0f5896106906997de4b/jasonb2018-09-16T20:25:39Z2018-09-16T20:25:39Z
Doing a git annex unannex and then a git annex add fixes it. Now sure how this happened originally.
comment 2http://git-annex.branchable.com/forum/Some_files_missing_extension_in_annex/comment_2_7fa25274fb00ba823b112d587c52df76/jasonb2018-09-16T20:32:08Z2018-09-16T20:32:08Z
<p>Unfortunately, my remotes don't know anything about the change, so when I push it, the symlinks point to files that don't exist, even though the data is still in the annex with the original mysterious filenames.</p>
<p>How to get git-annex to recover the existing data?</p>
comment 3http://git-annex.branchable.com/forum/Some_files_missing_extension_in_annex/comment_3_b05b478e91f58bd4ccd6d8ccf3b7ddf1/joey2019-01-21T15:42:51Z2018-10-04T18:27:26Z
<p>You used the WORM backend which is not the default backend, and which does
not preserve the extension inside the symlink target in all cases.</p>
<p>You'll need to re-upload the data to the remotes since you've added it back
under a different key. It would also be possible to use <code>git annex
reinject</code> on the remote, pointing it at the old content's filename.</p>