add todo based on forum post

This commit is contained in:
Joey Hess 2022-06-13 13:12:18 -04:00
parent c0e648e921
commit 4f23931439
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2022-06-13T17:06:21Z"
content="""
There is not currently an easy way to do that. Although I suppose you could
write a script to rename the files based on the filenames whereused
outputs.
I do think this would be a good enhancement. I've made a todo
[[todo/git-annex-addunused-historical]].
"""]]

View file

@ -0,0 +1,7 @@
`git-annex addunused` could have a --historical option that adds back to
the last-seen filename, like whereused does.
Something would need to be done to handle the case where several unused
keys use the same filename, or a file by that name already exists. Probably
the simplest thing would be to add the key to the end of the filename.
--[[Joey]]