Last active
June 15, 2025 16:04
-
-
Save rodhfr/fc46ac8066545e046179441f9d5a3a29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy of (1987) - Blind Chance [1080p] -> Blind Chance (1987) | |
(2008) - Martyrs [1080p] -> Martyrs (2008) | |
DRY RUN: | |
prename -n 's/^(Copy of )?\((\d{4})\) - (.+?)( \[[^\]]*\])*( \[[^\]]*\])*$/\3 (\2)/' * | |
ACTUAL: | |
prename 's/^(Copy of )?\((\d{4})\) - (.+?)( \[[^\]]*\])*( \[[^\]]*\])*$/\3 (\2)/' * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment