Selective renaming of files

A swapping-ground for Regular Expression syntax

Selective renaming of files

Postby Stuart0870 » Wed Oct 28, 2009 12:29 pm

First off, thanks for this program, I know for a fact it's going to make my life a lot simpler with a project I'm working on.

If only I knew Regex. :oops:

I have 1 folder with approximately 14000 sub-folders, each of those subfolders will contain multiple files of different types, but they all contain a Word document which is the index for all these files in the format nnnnnn.DOC, ie 6 numeric +.DOC, I need to simply prefix the number with the letter T.

Should be simple enough, but new accounts created after the 1st October, already HAVE the prefixed file, and there could also be Word files that are 6 characters long in the subfolders, but they wouldn't be 6 numerals.

Any chance one of you Regex gurus could point me in the right direction.

Thanks,
-Stuart
Stuart0870
 
Posts: 2
Joined: Wed Oct 28, 2009 12:17 pm

Re: Selective renaming of files

Postby Stuart0870 » Wed Oct 28, 2009 3:37 pm

Never mind, I did it by having select of *.DOC, and limiting file character length to 10 characters (123456.DOC) then just highlight the number items.
Stuart0870
 
Posts: 2
Joined: Wed Oct 28, 2009 12:17 pm


Return to Regular Expressions