Once you are done reading, please delete the above notes
Apparently I just created a duplicate bug, after performing an initial search to avoid this. Hopefully I did a better job with this enhancement request.
Use case or problem
Within my vault, I make use of folders to avoid having all files placed in one location. This avoids potential issues or slowdowns with the underlying operating system, while providing a bit of organizational structure to things. I don’t get heavy-handed with folders either.
As such, I have the option turned on to use media subfolders, instead of one global folder. This comes in very useful, especially if I have a folder for a big project, and need to keep all related files together in one place.
Whenever I move a note, the linked media files are not moved along with it. I was expecting that if I moved a note from folder A, to folder B, then any associated media files would move from folder A/_media to folder B/_media. This is not currently happening.
Proposed solution
Whenever a note is moved, any attached media should be moved along with it. See my use case above for an example.
I have yet to reference a media file from multiple notes, so I’m not certain how this use case would be handled. Having said that, existing support for the media subfolders would have to already take that into account.
Current workaround (optional)
Whenever I move a note containing media, I manually:
- Remove the file link from the note
- Move the note via Obsidian
- Drag and drop the media file(s) from their old location into the note
- That will then copy the media file(s) to the media subfolder, underneath the new note location & add the media link back into the note
- Delete the extra copy of the media file from its old location