Page 1 of 1

Rename of File names

PostPosted: Sat Nov 29, 2008 2:56 pm
by ronbyram
Forgive me I am new to BRU.
I have Picture files captured from my Camera. The import Software Creates the file names as YYYY-MM-DD XXXXXXXXXXXXXX.JPG (example)
another software package I used Created files as YYYY_MM_DD-XXXXXXXXXXXXXX.JPG

I want to clean up the flder/file names to a standard format

I was able to select piece by piece and change the parts of the folder. example YYYY-MM- to YYYY_MM- filling in each part of the file name. Then redoing it again and changing the last - with a _

Reading thru the doc I didnt see or understand if there is a way to MASK the date parms.. I want to change the - to a _ or add or remove a space after the date in the folder..

Are tehre examples in the docs or steps to do this?

Re: Rename of File names

PostPosted: Sat Nov 29, 2008 3:31 pm
by jimwillsher
Your best bet here is to use a Regular Expression, as that'll allow you to deal with the parts of the filename easily. Take a look at some of the example in the help file and on the RegExp forum on this board. Somebody might even post the correct RegExp for you.....


Jim