Samstag, 22. April 2023

Regex mit Total Commander, Dateinamen ändern

Change 20230409_150627.mp4 to  2023-04-09_15-06-27.mp4


Search for: (\d{4})(\d{2})(\d{2})_(\d{2})(\d{2})(\d{2})(.*)

Replace: $1-$2-$3_$4-$5-$6$7


\d Dezimalzeichen

{2} genau zweimal

() lässt sich mit $ referenzieren


https://www.ghisler.ch/wiki/index.php/Regular_Expressions

https://helgeklein.com/blog/renaming-multiple-files-with-regular-expressions-in-total-commander/