diff --git a/doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment b/doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment new file mode 100644 index 0000000000..7fce7dcc2d --- /dev/null +++ b/doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment @@ -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]]. +"""]] diff --git a/doc/todo/git-annex-addunused-historical.mdwn b/doc/todo/git-annex-addunused-historical.mdwn new file mode 100644 index 0000000000..17e66c2b2f --- /dev/null +++ b/doc/todo/git-annex-addunused-historical.mdwn @@ -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]]