Removing text after and including a bracket
Posted: Fri Dec 29, 2023 5:18 pm
Hello.
Basically, I have a folder of films with the name of the film, then in brackets after the director and year, i.e. "2001 - A Space Odyssey (Stanley Kubrick, 1968)". However, this makes it difficult for my Plex media server to match them, so I'm looking to delete the bracketed bit, but I'd rather do this in bulk as it's proving prohibitively time-consuming to do it individually. Is there a way to delete the bracketed bits in bulk?
Also, how do I replace, say, "Deer Hunter, The" with "The Deer Hunter" in bulk, in other words swapping my The's around?
Much obliged.
Basically, I have a folder of films with the name of the film, then in brackets after the director and year, i.e. "2001 - A Space Odyssey (Stanley Kubrick, 1968)". However, this makes it difficult for my Plex media server to match them, so I'm looking to delete the bracketed bit, but I'd rather do this in bulk as it's proving prohibitively time-consuming to do it individually. Is there a way to delete the bracketed bits in bulk?
Also, how do I replace, say, "Deer Hunter, The" with "The Deer Hunter" in bulk, in other words swapping my The's around?
Much obliged.