INTERACT FORUM
More => Old Versions => Media Center 13 (Development Ended) => Topic started by: maid on January 06, 2009, 11:41:40 pm
-
Help i have been trying to work this out for hours.
I have a folder with 20 files named the west wing s1 e1 and so on.
I wish to rename the and remove the but keeping them in sequence e1 e2 e3 etc. Is this possible.
Cheers
-
Select all the files, and in-place edit name to:
=Mid([Name], 4, -1)
This means take everything from the fourth character on.
Use undo / redo if you make a mistake.
-
in this case if you're just removing 'the' and are happy with the rest of the filename, then you can you can select the files, then right click and choose Library Tools / Find & Replace...
A Find & Replace window will open - on the left choose "Filename (name)" and in the "Find What" field enter "the west wing"; in the "Replace:" field enter "west wing"
-
in this case if you're just removing 'the' and are happy with the rest of the filename, then you can you can select the files, then right click and choose Library Tools / Find & Replace...
A Find & Replace window will open - on the left choose "Filename (name)" and in the "Find What" field enter "the west wing"; in the "Replace:" field enter "west wing"
You just made me look like a nerd ;D
-
Matt explains nicely how the Mid operator can be used for in-place editing a field value.
I don't know if this is going to look like a nerdy reply, but here is an example of another approach. I am using the library tools for getting/saving info from/to the filename. Also the Mid operator can be used in naming rules when applicable.
1. Fill some library fields from the filename. [] = empty brackets can be used for ignoring some parts completely.
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing1.png)
2. The resulting field values:
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing2.png)
3. Rename the file by using the new library field values. The rule is set to fix case and pad the season and episode numbers with a zero:
FixCase([Name], 1) FixCase([Album], 1) - SPadNumber([Season], 2)EPadNumber([Episode], 2)
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing3.png)
4. Fix the Album field:
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing4.png)
5. Fix the Name field:
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing5.png)
6. The end result:
(http://i224.photobucket.com/albums/dd212/AB2K/MC/westwing6.png)
-
that would make a killer wiki entry.
-
Here's an additional screenshot. It might not be obvious that you can right-click the rule box in the "Rename, Move, & Copy Files" window for seeing various tools, options and helpful tooltips.
(http://i224.photobucket.com/albums/dd212/AB2K/MC/rule.png)
-
Hello Guys,
I have done all my name changing one by one as I found following this instruction difficult and I made a mess.
I now want to try renaming my Photos how can I do this easily.
At the moment they display the tag which is not what I want I have got all the names I want in the folder on the hard drive but they still display wrong.
How can I name them all at once using part of the filename???
Cheers