Batch Renaming Using Metamorphose


Get the Flash Player to see this player.

Mark Video Segment:
[Hide] Copy and paste this link to an email or instant message:
[Hide] Right click this link and add to bookmarks:
Dock windowSearch
Loading ...

Title:Batch Renaming Using Metamorphose
Publisher:UT School of Information
Creator:Jessica Meyerson

Dock windowTranscript
So today we're gonna learn how to do some simple batch processing on files using a tool called Metamorphose, which is a free and open source tool that you can download through Sourceforge. 
So, that's the first step is to go into Google or your preferred search engine and type in "Metamorphose". If it's not the first thing that comes up you can add "sourceforge" and you should have better luck. And there it is - the first thing that comes up. So click on that.
You should see a page that looks exactly like this. It will list some of the main features of the program and a little description about what it's useful for. And if you look at the left-hand side navigation bar, there's a "Downloads" tab. So you'll click on that tab and you'll want to download the stable version. There's a stable version and a beta version and we want the stable version. And we want the Windows installer. 
So once you've walked through the installation wizard after downloading that executable file from Metamorphose, it should open up and look exactly like this. And by default, we'll be in the "Picker" tab, which is where we pick the files that we want to apply these batch processes to. So, we're gonna "Browse" for the folder that we want. I want this TO75 archival masters folder. 
As you can see I have a lot of files that look similar. The file names are pretty long. I want to change around the numbering and I also want to change around the names. Now to start applying some of these processes we're gonna tab over the "Main" window and the first thing I want to do is remove the preassigned numbering that accompanies all of these files. And the way that I do that is I go into the search part of the window and I mouse down to "regular expression" and I mouse over and I select "character sets" and it's gonna say, "Okay, anything but letters A-Z." And as you can see in your preview menu it's showing me a preview of what it's going to look like by removing any characters that are not letters A-Z. And the reason why it turns red is because it doesn't want you to perform an action in which all of your file names will become indistinguishable from one another because that could be a big problem. So, it's gonna show you errors like that in the preview which can be very helpful in preventing mistakes. 
Now,the way we get rid of this error is we come up to "suffix" because I want to add the numbering after the full text name that will be common among all of these files and then I'm gonna do the "numb" button. And it's just gonna go ahead and number these for me in sequential order starting at one. And now, if I want to adjust that to reflect the page number that's actually on each transcript page on each image, I know what the page numbering is and I know that doesn't start at one, it starts at page five for example. I'm gonna tab over to the "numbering"window, in the "counter" area where it says "start at" I'm gonna start with the number that I know these page numbers begin at, and that's like I said, page five in this instance. So all you have to do is arrow up until you get to page five.  And if you look down in your preview window you can see that's what it's doing for you. It started numbering at page five and went in sequential order all the way to the last page. So let's just scroll down and take a look...Yep! I know that my transcript ends on page thirty-six and starts with page five, so that's a good sign. So, if the preview looks good, you don't have any errors, each file is a little bit different from one another, and that's what you want, or at least that's a first step, you can hit "Go" and it will perform that action on all of those files.       
Now that I've got the numbering scheme, where each number associated with each filename actually reflects the page number on the image of the transcript page,   I want to change the file name so that it's not so long and I want to include the tape number. This time, we're gonna go into the same search section but we're gonna search for the text, in the current filename that we want to remove. And I want to remove all of this: "texasoilindustry"  and as you can see, on the preview for what the new name will be, we've gotten id of any text, but "Oh, Wait! This is weird..." the numbering for the page occurs twice. And that's because, up here, in the operations header the "suffix" button is still checked. So we need to uncheck that so that it doesn't add the same numbering system the next time that we apply a process to those files. Now, down here, you can see that it says "replace with" and that refers to the text that I want to replace the "texasoilindustry" and I want to do something shorter. I want to do just the tape number cause the tape number is common among all of these pages, cause the entire transcript came from one single tape, and that's Tape 74, and I also want a separator between the tape number, (which common among all of these files), and the page number, (which is associated which each individual file). So, I'm going to insert an underscore. Now, this is exactly what I want it to look like. If I look in the "New Name" preview column, I' have my tape number, an underscore/separator, and then I have the page number that is accurately associated with each TIFF file image of each page of the transcript. And if I feel good about that because I know it's Texas Oil Industry because all these files live in a bigger file called Texas Oil Industry,or called transcripts, I'm gonna hit "Go!" And that action was just applied to all of those files. 
Now, there's a lot more you can do with this program. You can add date and time information, that gets inserted into various metadata fields that will accompany that file wherever you move it. If you were to open up that file and look at "Properties" you would see the date that you had appended to file using this program. So, there's lots you can do but for today, we're just covering the basics. So, we renumbered/we changed the numbering scheme for the files to reflect the actual page number on the typed transcript and we also shortened the name, we just replaced the text in the name with just the tape number cause we know it lives inside a bigger directory that tells me its the Texas Oil Industry and tells me that these are transcripts and Yeah! So please play around with this program and get proficient at using it because it's free and that's always good. Thank you.
Dock windowTable of contents
About Metamorphose
Downloading Metamorphose
Opening Metamorphose and select the files you want to work on
Deleting the Current Numbering System & Errors
Getting Rid of Errors & Applying a New Numbering Scheme
Changing the File Name