Welcome Guest.   Make a donation to an author on the site September 20, 2014, 04:56:43 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the Practical Guide to DonationCoder.com Forum Search Features
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: IDEA: Grammar Nazi Mass Rename  (Read 3684 times)
Deozaan
Charter Member
***
Posts: 6,347



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« on: January 25, 2012, 06:10:47 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):



Wanted filename examples:



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.
Logged

kilele
Charter Member
***
Posts: 156

View Profile Give some DonationCredits to this forum member
« Reply #1 on: January 25, 2012, 06:16:26 PM »

_
« Last Edit: January 25, 2012, 06:30:11 PM by kilele » Logged
rgdot
Supporting Member
**
Posts: 1,613


View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: January 25, 2012, 06:19:38 PM »

Just in case no coding snack Métamorphose is probably good option. I tested and used version 2.
Logged
remio72
Participant
*
Posts: 1

View Profile Give some DonationCredits to this forum member
« Reply #3 on: February 21, 2012, 01:20:45 PM »

I made a program that does this you can get it from my website. (its called Mass File Renamer)
Logged
DyNama
Supporting Member
**
Posts: 62


Are you a good witch or a bad witch?

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #4 on: March 29, 2012, 10:32:53 PM »

am i too late? i like a program called Bulk Rename Utility: http://www.bulkrenameutility.co.uk/Main_Intro.php
« Last Edit: March 29, 2012, 10:34:37 PM by DyNama; Reason: fixing grammar » Logged
Deozaan
Charter Member
***
Posts: 6,347



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: March 29, 2012, 11:05:41 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. embarassed
Logged

Renegade
Charter Member
***
Posts: 11,378



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: March 29, 2012, 11:09:27 PM »

am i too late? i like a program called Bulk Rename Utility: http://www.bulkrenameutility.co.uk/Main_Intro.php

+1


A DC thread on it:

http://www.donationcoder....m/index.php?topic=30142.0

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

Logged

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
**
Posts: 62


Are you a good witch or a bad witch?

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #7 on: March 30, 2012, 04:55:12 PM »

i learned a little regex just to use it in BRU!

Logged
Renegade
Charter Member
***
Posts: 11,378



Tell me something you don't know...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #8 on: March 30, 2012, 09:10:25 PM »

i learned a little regex just to use it in BRU!


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

Logged

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

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.035s | Server load: 0 ]