Batch Rename overwrite?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Batch Rename overwrite?

Post by eil »

from time to time i find myself renaming files with Batch or RegEx and being unable to do it 'cause there are collisions but no option to overwrite them. yeah, probably that can be solved with scripting, but i like interface fancy things like Preview. so is there some "flag"(like /e for "drop extension" in Batch) or it must a new Wish?
if so, i'd like to see switch /o to overwrite on collisions of Batch and RegEx Rename.
Win 7 SP1 x64 100% 1366x768|1900x1080

armsys
Posts: 557
Joined: 10 Mar 2012 12:40
Location: Hong Kong

Re: Batch Rename overwrite?

Post by armsys »

XY already provides a huge set of solutions to resolve name collisions.
Please look up "collision" in the manual.
Please be more specific with your issue.

Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Batch Rename overwrite?

Post by eil »

what can be more specific: select few files, Files > Rename Special > Batch / RegEx =both can't handle collisions as i see.
Win 7 SP1 x64 100% 1366x768|1900x1080

Stef123

Re: Batch Rename overwrite?

Post by Stef123 »

You only have this option when renaming via SC afaik, see here:
http://www.xyplorer.com/xyfc/viewtopic. ... te#p127177

Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Batch Rename overwrite?

Post by eil »

bump. and probably needs to be transferred to Wishes.
need this prompt for these renaming:
10-26_212341.png
10-26_212448.png
10-26_212500.png
To see the attached files, you need to log into the forum.
Win 7 SP1 x64 100% 1366x768|1900x1080

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Batch Rename overwrite?

Post by Papoulka »

We did get recently get this for SC renameitem (): http://www.xyplorer.com/xyfc/viewtopic. ... 05#p127205

Maybe the same considerations apply. It's a good idea. The script author should certainly be allowed to suppress warnings.

Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Batch Rename overwrite?

Post by eil »

i don't mind warnings, in fact i prefer them to be as i always use Preview.
Win 7 SP1 x64 100% 1366x768|1900x1080

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Batch Rename overwrite?

Post by Papoulka »

i'd like to see switch /o to overwrite on collisions of Batch and RegEx Rename
Then I misunderstood your statement above. In any case, I think a 'rename' overwrite switch should be available in scripting, where 'rename' is no more dangerous than 'delete'. With a lot of work you can script around getting an unwanted prompt, but that should not be unnecessary.

Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Batch Rename overwrite?

Post by eil »

Papoulka wrote:
i'd like to see switch /o to overwrite on collisions of Batch and RegEx Rename
Then I misunderstood your statement above. In any case, I think a 'rename' overwrite switch should be available in scripting, where 'rename' is no more dangerous than 'delete'. With a lot of work you can script around getting an unwanted prompt, but that should not be unnecessary.
yeah, probably missunderstanding- i'm talking only about user-interface: quite unpractical when renaming a bunch of files to "rename-ovewrite" one by one. especially since i already saw Preview and do know that i Want to overwrite.
Win 7 SP1 x64 100% 1366x768|1900x1080

Online
eil
Posts: 1888
Joined: 13 Jan 2011 19:44

Re: Batch Rename overwrite?

Post by eil »

bump.
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply