[FIXED] Move on Regex Rename

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

[FIXED] Move on Regex Rename

Post by TheQwerty »

*snip* Split from http://www.xyplorer.com/xyfc/viewtopic.php?f=6&t=15308 *snip*

Until regex rename *fully* supports moves I sadly cannot agree. :(

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move on Rename - one small step for a man...

Post by admin »

For example? (I don't speak Regex)

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Move on Rename - one small step for a man...

Post by TheQwerty »

admin wrote:For example? (I don't speak Regex)
Given items that are already named with date prefixes like so 'yyyy-mm-dd_name.ext'.
Being able to perform a regex rename of:

Code: Select all

^(\d+)-(\d+)- > $1\$2\$1-$2-
Would quickly put them into a year\month structure.

XY's support of this is iffy - if the folder exists it works correctly, when it must create the folder it fails, and in many cases I literally end up with some of the files named 'yyyy\mm\yyyy-mm-dd_name.ext' until I refresh and XY corrects the display:
2016-01-18 104904.png
EDIT: That said I'm surprised it's working as much as it does though because I could have sworn on past attempts it didn't. :eh:
To see the attached files, you need to log into the forum.

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move on Rename - one small step for a man...

Post by admin »

Easy. Next version... :cup:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Move on Regex Rename

Post by TheQwerty »

:tup: :appl: :beer:

Only remaining issue I have is Undo does not remove folders which were created during the moving renames.

admin
Site Admin
Posts: 67288
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Move on Regex Rename

Post by admin »

Uh, yes. Let's leave that on the to do list for a while... :whistle:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Move on Regex Rename

Post by TheQwerty »

admin wrote:Uh, yes. Let's leave that on the to do list for a while... :whistle:
Might just be an omission in the documentation. ;)

Post Reply