Move attachement files (.jpeg .mp4 ...) to same folder as current file


I have about 500 attachement files, video files, images, pdf… that I chose to put in a single folder (media) at the root of the vault, I realize that this is not the best way for me to work, especially since now I would like to divide my notes into several different vault.

Is there a plugin or method that would automatically move the files from the media folder to a folder at the same levels of each of the notes that reference each of these files?

(Also, maybe moving and relocating files in folders named after the type of file, (pdf folder for pdf, …) )


1 Like