i/ for "Increment On Collision" in Rename Special is not working (XYPLORER 11.40).
For example renaming two files created today with
<datem yyyymmdd>/i
produces a clash in the preview and then in the actual rename.
Options -Template "filename affixes" is at the default of "-01".
---Nick Higham
Increment On Collision in Rename Special problem
Forum rules
You might want to read this if you're looking for priority service
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%).
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Increment On Collision in Rename Special problem
The pattern <datem yyyymmdd>/i works when a file named <datem yyyymmdd> already exists before the rename job starts. It does not when a file named <datem yyyymmdd> is created through the rename job. For this case you better state the increment right in the pattern: <datem yyyymmdd>-<#01>.
FAQ | XY News RSS | XY X
-
GamaRex
- Posts: 51
- Joined: 13 Jan 2010 22:04
Re: Increment On Collision in Rename Special problem
Is there some way to pre-flag files that are potential rename collisions in order to handle renaming those separately from other files in a folder?
My scenario is photos imported from a mobile phone that I'd like to rename with a date filename, but there are usually a very few collisions predicted.
This is my rename pattern:
CameraName <dateexif yyyy_mmdd hh-nn-ss>
I can use this as suggested by your post:
CameraName <dateexif yyyy_mmdd hh-nn-ss>-<#01>
However, I'd prefer a method where it would append numbers only when there's a conflict, not to every file, since the suffixes are meaningless for the non-conflict files.
My guess is that it isn't possible, but I thought I should ask in case I've missed something, or if others have found better techniques for renaming photo files.
My scenario is photos imported from a mobile phone that I'd like to rename with a date filename, but there are usually a very few collisions predicted.
This is my rename pattern:
CameraName <dateexif yyyy_mmdd hh-nn-ss>
I can use this as suggested by your post:
CameraName <dateexif yyyy_mmdd hh-nn-ss>-<#01>
However, I'd prefer a method where it would append numbers only when there's a conflict, not to every file, since the suffixes are meaningless for the non-conflict files.
My guess is that it isn't possible, but I thought I should ask in case I've missed something, or if others have found better techniques for renaming photo files.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Increment On Collision in Rename Special problem
It's possible using the /i switch:
Code: Select all
CameraName <dateexif yyyy_mmdd hh-nn-ss> /iFAQ | XY News RSS | XY X
-
RalphM
- Posts: 2144
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Increment On Collision in Rename Special problem
Isn't that exactly what the OP started with when the problem arose?
Ralph 
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
(OS: W11 26H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Increment On Collision in Rename Special problem
Uh, yes, I did not look at the beginning of the thread.RalphM wrote:Isn't that exactly what the OP started with when the problem arose?
However, I tested it and it seems to work.
FAQ | XY News RSS | XY X
-
GamaRex
- Posts: 51
- Joined: 13 Jan 2010 22:04
Re: Increment On Collision in Rename Special problem
You're right: I found that it does work after I changed my formula to /i using a lowercase "i". I had been using an uppercase "I" and it would warn me of a collision. When I change it to lowercase, no warning, and the renaming works as I want. Nice surprise!
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Increment On Collision in Rename Special problem
Yes, the switches are case-sensitive. There is no uppercase /I switch here.
Glad it works.
Glad it works.
FAQ | XY News RSS | XY X
XYplorer Beta Club