topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday December 4, 2024, 8:35 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Grammar Nazi Mass Rename  (Read 9043 times)

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,775
    • View Profile
    • Read more about this member.
    • Donate to Member
IDEA: Grammar Nazi Mass Rename
« on: January 25, 2012, 06:10 PM »
I have recently made quite a number of purchases of games at GOG.com and downloaded the games + all additional content including soundtracks and wallpapers etc. I am bothered by the file naming scheme that GOG uses and would like a way to automatically traverse all subdirectories of a specified directory to rename the files.

Unwanted filename examples (with a few good ones in there):

GOG Bad Names.png

Wanted filename examples:

GOG Good Names.png

Basically, I want to replace underscores (_) with spaces ( ) and capitalize the first letter of each word.

But! Some words are acronyms e.g. HoMM or BG and I don't want those to be replaced with e.g. Homm or Bg. However, since GOG usually uses lowercase letters for their filenames anyway, I'm okay with it leaving a lowercase acronym all lowercase (but still capitalizing the first letter).

Or in other words, Make the first letter capitalized and don't worry about the case of any other letters in a word.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #1 on: January 25, 2012, 06:16 PM »
_
« Last Edit: January 25, 2012, 06:30 PM by kilele »

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 2,193
    • View Profile
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #2 on: January 25, 2012, 06:19 PM »
Just in case no coding snack Métamorphose is probably good option. I tested and used version 2.

remio72

  • Participant
  • Joined in 2012
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #3 on: February 21, 2012, 01:20 PM »
I made a program that does this you can get it from my website. (its called Mass File Renamer)

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 73
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #4 on: March 29, 2012, 10:32 PM »
am i too late? i like a program called Bulk Rename Utility: http://www.bulkrenam...co.uk/Main_Intro.php
« Last Edit: March 29, 2012, 10:34 PM by DyNama, Reason: fixing grammar »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,775
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #5 on: March 29, 2012, 11:05 PM »
No you're not too late. Thanks for the suggestions everyone. I got distracted since asking this question and haven't taken the time to try anything yet. But I appreciate having the info here for when I do finally get back to it. :-[

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #6 on: March 29, 2012, 11:09 PM »
am i too late? i like a program called Bulk Rename Utility: http://www.bulkrenam...co.uk/Main_Intro.php

+1


A DC thread on it:

https://www.donation...ex.php?topic=30142.0

It's pretty robust... Includes regular expressions even.

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

DyNama

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 73
  • Are you a good witch or a bad witch?
    • View Profile
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #7 on: March 30, 2012, 04:55 PM »
i learned a little regex just to use it in BRU!


Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,291
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: IDEA: Grammar Nazi Mass Rename
« Reply #8 on: March 30, 2012, 09:10 PM »
i learned a little regex just to use it in BRU!


Regex is apotheosis for computers. It gives you god-like power.

Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker