Advanced rename for folder creation in regex broken
Posted: Thu Nov 24, 2022 8:39 pm
Hello
I'd like to thank you for making such an incredible tool! I'm trying to use it to move my pictures into organized folders from a folder I use to backup from my phone. From researching, I've learned that I need to enable the advanced renaming option "Allow using '\' in renaming criteria for creation of new folders", however, I've found that there is a bug with it. I'll explain the situation below and provide as much detail as I can to replicate the issue, but in short, I want to move files without renaming them into folders that use the year and month from the filename
Folder with pictures:
A:/Pictures/Unorganized/Phone/
Picture filename pattern:
yyyymmdd_hhmmss.(jpg|mp4)
Renaming options enabled:
1 (regex) match & replace
13 (copy/move to location) path: A:/Pictures, "copy not move": unchecked
Regex match:
^(\d{2})(\d{2})(\d{2})(\d{2}_\d{6})$
Regex replace:
\1\2\\2-\3\\1\2\3\4
Example file rename result:
20140723_124010.jpg > 2014\14-07140140723_124010.jpg
Regex replace with extra undesired character (-) that fixes the bug:
\1\2\\2-\3\-\1\2\3\4
Example file rename result:
20140723_124010.jpg > 2014\14-07\-20140723_124010.jpg
Thank you for your attention to this issue
I'd like to thank you for making such an incredible tool! I'm trying to use it to move my pictures into organized folders from a folder I use to backup from my phone. From researching, I've learned that I need to enable the advanced renaming option "Allow using '\' in renaming criteria for creation of new folders", however, I've found that there is a bug with it. I'll explain the situation below and provide as much detail as I can to replicate the issue, but in short, I want to move files without renaming them into folders that use the year and month from the filename
Folder with pictures:
A:/Pictures/Unorganized/Phone/
Picture filename pattern:
yyyymmdd_hhmmss.(jpg|mp4)
Renaming options enabled:
1 (regex) match & replace
13 (copy/move to location) path: A:/Pictures, "copy not move": unchecked
Regex match:
^(\d{2})(\d{2})(\d{2})(\d{2}_\d{6})$
Regex replace:
\1\2\\2-\3\\1\2\3\4
Example file rename result:
20140723_124010.jpg > 2014\14-07140140723_124010.jpg
Regex replace with extra undesired character (-) that fixes the bug:
\1\2\\2-\3\-\1\2\3\4
Example file rename result:
20140723_124010.jpg > 2014\14-07\-20140723_124010.jpg
Thank you for your attention to this issue