Renaming operations - Allow "\" to create sub-directory
Posted: 04 May 2022 18:05
I have a a few thousand files that need to be sorted into sub-directories by part of their file name.
e.g.
2022-03-02 - Bob's Meeting - Bob1.docx
2022-03-02 - Bob's Meeting - Bob3.docx
2022-03-02 - Bob's Meeting - Bob7.docx
2021-02-05 - Bob's Meeting - Jill2.docx
2021-02-05 - Bob's Meeting - Jill3.docx
Of course, this can be done in any number of ways.
However, I have used other renaming and media tools where in rename functions part of the rename rules may be a backslash. This creates a sub-directory, moves the files, and renames the files in one fell swoop.
It is a rather simple, elegant approach, but it seems to not exist in XY's renaming capabilities (if I have missed it, please point me towards it).
Proposal:
e.g. Search Replace: - /\
In this manner, all files would end up renamed as:
2022-03-02\Bob's Meeting - Bob1.docx
2022-03-02\Bob's Meeting - Bob3.docx
2022-03-02\Bob's Meeting - Bob7.docx
2021-02-05\Bob's Meeting - Jill2.docx
2021-02-05\Bob's Meeting - Jill3.docx
Which would create sub-directories of 2022-03-02 and 2021-02-05, then move the files "Bob's Meeting - Bob#.docx" into them.
Now all the files are sorted by their dates.
The same would work equally well with regex renames, and even media renames (e.g. move mp3's into sub-directories by their album)
e.g.
2022-03-02 - Bob's Meeting - Bob1.docx
2022-03-02 - Bob's Meeting - Bob3.docx
2022-03-02 - Bob's Meeting - Bob7.docx
2021-02-05 - Bob's Meeting - Jill2.docx
2021-02-05 - Bob's Meeting - Jill3.docx
Of course, this can be done in any number of ways.
However, I have used other renaming and media tools where in rename functions part of the rename rules may be a backslash. This creates a sub-directory, moves the files, and renames the files in one fell swoop.
It is a rather simple, elegant approach, but it seems to not exist in XY's renaming capabilities (if I have missed it, please point me towards it).
Proposal:
e.g. Search Replace: - /\
In this manner, all files would end up renamed as:
2022-03-02\Bob's Meeting - Bob1.docx
2022-03-02\Bob's Meeting - Bob3.docx
2022-03-02\Bob's Meeting - Bob7.docx
2021-02-05\Bob's Meeting - Jill2.docx
2021-02-05\Bob's Meeting - Jill3.docx
Which would create sub-directories of 2022-03-02 and 2021-02-05, then move the files "Bob's Meeting - Bob#.docx" into them.
Now all the files are sorted by their dates.
The same would work equally well with regex renames, and even media renames (e.g. move mp3's into sub-directories by their album)