Is it possible to batch transfer the Filename to Title or Vice Versa?

Thanks to all in advance. In other words, if I wanted to make all my titles the same as all my filenames, is there a way to do it quickly without copying and pasting?

Convert > Filename - Tag

vice versa

Convert > Tag - Filename