goPro simple rename

Bulk Rename Utility How-To's

goPro simple rename

Postby thevincentcreative » Tue Jun 10, 2025 8:45 pm

hello

i had this program last year and it was great. i didnt have to do anything just select all then click rename and my gopro files were renamed a way it was in an order that made sense.
I upgraded to the new version and it stop working. I had to g back a very old version to even get it to work but now i'm playing around with settings and still very much semi manually inputting.

my question is...

does someone have a saved preset for goPro hero 10s and 12s and MAX that is a very simple rename so it's a reasonable naming convention not the confusing gopro ones.
after i film i just need to be able to put the videos in chronological order and the attached audio.

does anyone havea very simple preset for the above mentioned they can share?
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby TheGhost78 » Wed Jun 11, 2025 12:59 pm

Give some examples of what you are renaming from and to.
TheGhost78
 
Posts: 190
Joined: Fri Jul 19, 2024 11:25 am

Re: goPro simple rename

Postby thevincentcreative » Mon Jun 16, 2025 2:38 am

the naming is explained here
https://www.youtube.com/watch?v=4x__JIU671w

what i'd like it to be or similar is the collum on the right (below)

thanks so much in advance

GX010001---->. GX0001
GX010002---->. GX0001B
GX010003---->. GX0001C
GX020001---->. GX0002
GX020002---->. GX0002B
GX030001---->. GX0003
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby TheGhost78 » Tue Jun 17, 2025 10:44 pm

From what's in the video, the first two digits are being moved to the end, wth hypens added between the different parts to delineate them. So, to do that, use RegEx (1):

([G][X])(\d{2})(\d{4})
\1-\3-\2

If there are different letter combinations besides GX, you can include additional letters within the square brackets with a comma separator. E.g., [D,G][X,Y] would allow for DX, DY, GX and GY combos to be matched.
TheGhost78
 
Posts: 190
Joined: Fri Jul 19, 2024 11:25 am

Re: goPro simple rename

Postby TheGhost78 » Tue Jun 17, 2025 10:56 pm

Are you sure the example you gave is how you want them? There doesn't appear to be any practical difference to the original filenames, except the files ending in 1 won't have a letter, which in some programs will make them appear at the bottom of the list rather than top - out of order.

e.g.
GX0001B
GX0001C
GX0001

Whereas, if you include a letter even for the files ending in 1, it would display in order:

GX0001A
GX0001B
GX0001C
TheGhost78
 
Posts: 190
Joined: Fri Jul 19, 2024 11:25 am

Re: goPro simple rename

Postby thevincentcreative » Tue Jun 17, 2025 11:24 pm

Goal is to have it in sequential order in my editor

Is there a preset i can use?
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby TheGhost78 » Tue Jun 17, 2025 11:56 pm

Whatever setting you use, such as what I posted above for the RegEx solution, you can go to File > Save As... and save it as a .bru file. Then, when you have another batch of files ready to be renamed, open the program on the folder, go to File > Open... and select the .bru file you had saved.
TheGhost78
 
Posts: 190
Joined: Fri Jul 19, 2024 11:25 am

Re: goPro simple rename

Postby thevincentcreative » Wed Jun 18, 2025 2:06 am

Yea, I understand the saving part. I've done it with an incorrect set up.
Hence why i was asking if someone could make it and save it and send the saved file for me lol.

I dont really understand what you wrote above...this is all above my level of comprehension lol

But thanks
I guess I'll have to keep playing around
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby thevincentcreative » Mon Jun 30, 2025 11:17 pm

so no one has a simple preset to get this gopro awkard naming convention into sequential order they can update for me?
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby Admin » Tue Jul 01, 2025 3:53 am

To achieve renaming like this:

Original -> Result
GX010001 -> GX0001A
GX010002 -> GX0001B
GX010003 -> GX0001C
GX020001 -> GX0002A
GX020002 -> GX0002B
GX030001 -> GX0003A

You want to:

1. Extract the middle part number (e.g. 100, 200, 300) and convert it to a zero-padded number with 4 digits (e.g. 0001, 0002, 0003).
2. Append a letter suffix (A, B, C, ...) incrementing per file within the same group (e.g. GX0001A, GX0001B, GX0001C).
3. Keep the prefix "GX".

How to do this in Bulk Rename Utility:

- Use Numbering (10) to add the letter suffix (A, B, C...) with:
- Mode: Suffix
- Start: a (or A)
- Incr.: 1
- Pad: 1
- Type: a-z or A-Z (for letters)
- Case: Upper or lower as needed

- Use Name (2) with a Regular Expression (RegEx) or Replace (3) to transform the numeric part:
- Extract the numeric part (e.g. 10001) and reformat it to 0001.
- You may need to use RegEx to capture and replace parts of the filename.

- Alternatively, use the Insert Number at Position option in Numbering (10) to insert the zero-padded number at the correct position.

- If the numbering reset or grouping depends on the middle number (e.g. 01, 02, 03), use the Break option in Numbering (10) to reset the letter suffix when that part changes.

Example setup:

- Numbering (10):
- Mode: Suffix
- Start: a
- Incr.: 1
- Pad: 1
- Type: a-z
- Break: 6 (or the position where the group number changes)
- Sep.: (empty)

- Name (2):
- Use RegEx or Replace to convert "GX010001" to "GX0001"
- For example, use RegEx Match: `GX0(\d{2})(\d{3})` and Replace: `GX000$2`

If this is complex, consider using the JavaScript Renaming Engine for full control.
Admin
Site Admin
 
Posts: 2944
Joined: Tue Mar 08, 2005 8:39 pm

Re: goPro simple rename

Postby Admin » Tue Jul 01, 2025 3:57 am

Javascript function:

Code: Select all
// This code transforms names like "GX010001" to "GX0001A", "GX010002" to "GX0001B", etc.
// It works for patterns: GX[NN][XXXXXX], where NN is a 2-digit group and XXXXXX is a 6-digit sequence
// The output is: "GX" + zero-padded group number (to 4 digits) + letter (A=1, B=2, ...)
// Example: name = "GX010003" --> newName = "GX0001C"
// Example: name = "GX020002" --> newName = "GX0002B"

var m = /^GX(\d{2})0*(\d{4})$/.exec(name);
if (m) {
    // m[1]: group number (e.g., "01")
    // m[2]: sequence number (e.g., "0001", "0002", ...)
    var groupNum = parseInt(m[1], 10);
    var seqNum = parseInt(m[2], 10);
    // Pad groupNum to 4 digits
    var groupStr = ("000" + groupNum).slice(-4);
    // Convert seqNum to letter: 1 -> A, 2 -> B, etc.
    // Only works up to 26 (Z)
    var letter = "";
    if (seqNum >= 1 && seqNum <= 26) {
        letter = String.fromCharCode(64 + seqNum);
    } else {
        // If out of range, just use the number
        letter = seqNum;
    }
    newName = "GX" + groupStr + letter;
} else {
    // If pattern does not match, leave name unchanged
    newName = name;
}
Admin
Site Admin
 
Posts: 2944
Joined: Tue Mar 08, 2005 8:39 pm

Re: goPro simple rename

Postby Admin » Tue Jul 01, 2025 4:01 am

Alternative Javascript

Code: Select all
// Example transformations:
// name = "GX010001"  => newName = "GX0001A"
// name = "GX010002"  => newName = "GX0001B"
// name = "GX020001"  => newName = "GX0002A"

var parts = name.match(/^([^\d]+)(\d{2})(\d{4})$/);
if (parts) {
    // parts[1] = prefix letters, parts[2] = two-digit group, parts[3] = four-digit index
    var prefix = parts[1];
    var groupNum = parseInt(parts[2], 10);
    var indexNum = parseInt(parts[3], 10);
    // pad group number to 4 digits
    var groupPad = ("0000" + groupNum).slice(-4);
    // map index to letter: 1 -> A, 2 -> B, etc.
    var letter = String.fromCharCode(64 + indexNum);
    newName = prefix + groupPad + letter;
} else {
    // if the pattern doesn't match, leave the name unchanged
    newName = name;
}
Admin
Site Admin
 
Posts: 2944
Joined: Tue Mar 08, 2005 8:39 pm

Re: goPro simple rename

Postby thevincentcreative » Tue Jul 01, 2025 5:22 am

perfect...thnks
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm

Re: goPro simple rename

Postby thevincentcreative » Tue Jul 01, 2025 6:20 am

seeing this proved to be alot more complicated than i'd like for it to be, for me...

I just asked chatGPT lol

here is a link to two presets someone can use if they have Gopro files they need to rename.

you will have to do it in batches. so .MP4, .WAV, .THM, and .LRV and have them organized in sequencial order

i did two one for the .LRV files that are named with "GL00.."

then one for the others that are named with "GX00.."

it basically takes the "GX0x.." and places it at the end with an underscore "GX00.._1

so it goes from "GX01, GX02, GX03 to GX00_1, GX00_2, GX00_3

hope this helps someone down the road so they don't have to be in pain like I was in this chat lol

thanks for all your hep

DL link
expires in 3 days so hopefully the admins can save it and pin it somewhere https://we.tl/t-oY9k5xDlz2
thevincentcreative
 
Posts: 7
Joined: Mon Jun 02, 2025 10:26 pm


Return to How-To