Page 1 of 1

batch rename bug

Posted: 01 Jan 2010 19:17
by xman
When I try to rename multiple files using this:

Code: Select all

a.<#001> /e
than it doesn't substitute <#001> with incrementing values. It changes correctly only if it is before last dot or if there is no dot at all.

Re: batch rename bug

Posted: 01 Jan 2010 19:44
by admin
So you want the extensions to be *.001, *.002, *.003 etc. ... quite unusual. :)

Re: batch rename bug

Posted: 01 Jan 2010 19:48
by xman
There is a program named "File Splitter & Joiner", that can join files together, if they have extensions .001, .002 etc. And it's associated with .001, so this was the easiest way to go. :wink:

Re: batch rename bug

Posted: 01 Jan 2010 20:14
by admin
I'd say this is too weird to be supported.

Re: batch rename bug

Posted: 01 Jan 2010 20:36
by j_c_hallgren
admin wrote:I'd say this is too weird to be supported.
Actually, in the area of split/join, this file name style has been around for many years! I recall doing it back on Win3.11! So I don't see it as weird at all.

I'm just curious in these days of large device sizes why one would still need to do this...though I'll admit to doing a split on some large mp3 podcast files so that my cheap 3+yr old & primitive player that doesn't support bookmarks would have 10 min chunks that I could skip thru to get back to close to where I was when I stopped it.

Re: batch rename bug

Posted: 01 Jan 2010 20:40
by xman
I'm just curious in these days of large device sizes why one would still need to do this...
If you need to join some multiple text files, for example.. There are many situations, where you would need to join files and it doesn't have anything to do with harddrive size. And if someone wants to transfer multi-GB file over internet, cutting it to 100 MB or so chunks may be one of possible solutions (beside creating multi-volume rar or zip).

Now I don't insist on fixing this. It can be easily workarounded in two steps. I reported it because it seems like incorrect behaviour.

Re: batch rename bug

Posted: 01 Jan 2010 20:46
by j_c_hallgren
xman wrote:
I'm just curious in these days of large device sizes why one would still need to do this...
If you need to join some multiple text files, for example.. There are many situations, where you would need to join files and it doesn't have anything to do with harddrive size. And if someone wants to transfer multi-GB file over interner, cutting it to chunks may be one of possible solutions (besides creating multi-volume rar or zip).
Ok...good answers! Thanks! I'd not needed it for those purposes.

BTW, the split/join that I found in my Downloads was from http://www.peretek.com/sfj.php where the .001, .002, etc naming is mentioned also.

Re: batch rename bug

Posted: 01 Jan 2010 21:45
by Stefan
1 Step) Batch Rename: a.<#001>
2 Step) Set Extension:


Or with an script
rename b, 'a.<#001>', p,;
  rename e, "", p,;

Re: batch rename bug

Posted: 01 Jan 2010 21:47
by xman
Stefan wrote:1 Step) Batch Rename: a.<#001>
2 Step) Set Extension:
That's what I did, but thanks anyway :wink:

Re: batch rename bug

Posted: 02 Jan 2010 08:08
by admin
OK, convinced. Fixed it. :)

Re: batch rename bug

Posted: 04 Feb 2010 17:00
by j_c_hallgren
As a follow-up to the "join files" issue (not the rename bug itself), I found in this old post http://www.xyplorer.com/xyfc/viewtopic. ... 967#p34967
there was a script to do this which may help...not sure if it's current but posting here to leave another pointer to that script.