Page 1 of 1

Renaming files in sequential order

PostPosted: Sat Jul 12, 2014 9:08 pm
by ey143
Hi

Nice utility you have programmed.

Could you pleas help me though as I couldnt find the answer in the instructions.

I have a series of images from my iphone that I need to rename in sequential order. example I have 500 images named from IMG_0001.jpg to IMG_1000.jpg to IMG_1500.jpg to IMG_2499.jpg

I cant find an easy way to sequentually rename it using the utility. I also need the image files to retail their original date and time stamp.

Could you please help?

Thanks.

Dan

Re: Renaming files in sequential order

PostPosted: Sun Jul 13, 2014 6:06 am
by truth
* Note that BRU renames by the sort-order in its right-pane.
So ordering can be changed by clicking columns or dragging names.

10Numbering sequentially ADDs text/numbers (per that sort-order)
but it never removes any pre-existing chars/digits from OrigName.
It is strictly an add-option, much like 7Add, 8AutoDate, 9AppendFolderName.

Removing/replacing chars requires more settings or another run.
One example:

1Regex match/replace (remove final digits)
(IMG_)\d+$
\1

10Numbering (sequentially suffix numbers, beginning with 0001)
Mode=Suffix
Start=1
Pad=4
Incr=1

While 1Regex only touches files as: IMG_#.jpg
10Numbering suffixes ANY selected name in BRUs right-pane.
So one must use caution when selecting names, or use something like:
12Filter=img_*.jpg (to limit list of selectable-names)

This is where the commandline version really shines, where 2 batchlines
can be written to determine which name-format(s) should be 10Numbered.

Also, BRU cannot edit exif-data, & wont change a file's timestamp
unless the user explicitly gives such a command.

Re: Renaming files in sequential order

PostPosted: Sun Jul 13, 2014 1:03 pm
by ey143
Thank you, this worked a charm. Brilliant little utility....bit daunting at first view though! :)