Bash script to move all movies in a folder into subfolders with the name of the corresponding movie.
This script copies all movies in a directory (not recursive) into (new created) folders with the same name as the corresponding movie.
Example:
Before:
No time to die 2021.mkv
Spider-Man No Way Home 2021.mkv
After using script:
/No time to die 2021/No time to die 2021.mkv
/Spider-Man No Way Home 2021/Spider-Man No Way Home 2021.mkv