I have folders with album year and a bunch of text I don't care about and want removed/renamed. Here is what I was trying for the below files:
Calvin Harris - This Is What You Came For (2016) [MP3-320]
rename 's/(*//g' *
I'm getting the below error:
Unterminated '(*...' construct in regex; marked by <-- HERE in m/(* <-- HERE / at line 1, in: s/(*//g
I know I must be having issues with special characters. How can I rename everything after the '(' character so it would look something like this:
Calvin Harris - This Is What You Came For
-n
is for testing - remove it when you're happy with the actions proposed – steeldriver Nov 11 '23 at 02:58