2024-06-13, 01:48 AM
(This post was last modified: 2024-06-13, 01:52 AM by pcm. Edited 3 times in total.)
(2024-06-13, 12:50 AM)mildlyjelly Wrote: How did you rename the files? Did you use a tool or elbow grease?
shell oneliner
in my case it was
Code:
for f in * ; do mv -v "$f" "$(echo \"$f\" | sed -E \"s/episode (.+).mp4/S01E\1.mp4/\")" ; done
Let me know if you need me to explain what's happening here... Or if you need help coming up with something you wanna mass-rename...