dy-sh / obsidian-unique-attachments

Obsidian plugin. Renames attachments, making their names unique.
MIT License
45 stars 5 forks source link

Does not update links #12

Open OldManUmby opened 2 years ago

OldManUmby commented 2 years ago

The description claims ... "After using "Rename all attachments" the plugin updates the links in all notes that used these files."

It renamed the files but did not update the links accordingly.

FWI ... Fresh install, using the latest versions of everything.

daephx commented 2 years ago

@OldManUmby what kind of links are you using?

If you use markdown links, then ignore me... I'm just coming in here as a new user and got burned because I didn't notice this part of the readme.

The "Rename all attachments" command is only compatible with standard markdown links (). Wikilinks are not supported. You can convert all wikilinks to markdown links with Consistent attachments and links plugin. ''Rename only active attachments'' command works with all kind of links and generate links based on your preferences.

A few notes is one thing but 100's and it's caused some busy work to cleanup. Git saved my ass but I believe it should be even more upfront in the readme. As I identify as a dumb user and don't always read things. A potentially destructive action like this needs to be 100% clearly stated.

OldManUmby commented 2 years ago

Yep. I saw that. I didn't use wikilinks on the images that did not get renamed. I used standard markdown links. Yet nothing happened.

dy-sh commented 2 years ago

Hello. Is the problem still not resolved? Could you send a test vault with sample notes showing the problem?

mitsuru793 commented 9 months ago

I have the same issue. I use markdown link, but not wiki-link.