View previous topic :: View next topic |
Author |
Message |
pengtzu
Joined: 23 Oct 2010 Posts: 3
|
Posted: Sat Oct 23, 2010 1:03 am Post subject: Shorten File Names |
|
|
I'm trying to re-import my iTunes library after a crash. I'm getting an error that one of the files names is invalid or too long (weird, since it wasn't an issue before the crash.) I suspect this is a very mundane request, but I can't seem to figure out how to accomplish this. I want to shorten every single filename to somewhere around 50 characters, by simply chopping off anything to the right of that point. I suspect that would give me unique filenames, but if there were any duplicate filenames, I hope it would give me some option other than phailing or overwriting files. Any suggestions? TIA! |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Sat Oct 23, 2010 7:02 am Post subject: |
|
|
Hi,
On the main window, there is a pre-defined regex pull-down list. In it there is an entry for deleting the first 4 characters of a name. insert it in the custom renaming creator and then change the 4 to 50.
The top menu of the main window has a View entry. Pull it down and select 'Options'. The options window will appear. On the left side select 'Rename Scan'. The right side will then show an option at the top for customizing how you want to handle duplicates.
Hope that helps.
Peter. |
|
Back to top |
|
 |
pengtzu
Joined: 23 Oct 2010 Posts: 3
|
Posted: Sun Oct 24, 2010 8:04 pm Post subject: |
|
|
Hello and thank you! Unfortunately, if I understand correctly, your suggestion deletes the first ## of characters in the title. I want to delete any characters from the ed, in other words, and characters to the right of the 50th one. Let me know if I misunderstood. Or, any other suggestions? |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Mon Oct 25, 2010 12:01 am Post subject: |
|
|
Sorry - I should have referred you to the entry: 'Keep first 4 characters in'
Insert it in the custom renaming creator and then change the 4 to 50.
Peter. |
|
Back to top |
|
 |
pengtzu
Joined: 23 Oct 2010 Posts: 3
|
Posted: Wed Oct 27, 2010 11:45 pm Post subject: Thanks! |
|
|
Sounds dead on. I want to backup the folder first but I'll report back on how it works. Thanks! |
|
Back to top |
|
 |
alankempster
Joined: 24 Feb 2012 Posts: 2 Location: United Kingdom
|
Posted: Fri Feb 24, 2012 11:01 am Post subject: |
|
|
I tried this, but it chopped off the file extension as well. Then I tried changing the start of the expression from (?x) to (?E) and it stopped making any changes at all. Any ideas? |
|
Back to top |
|
 |
alankempster
Joined: 24 Feb 2012 Posts: 2 Location: United Kingdom
|
Posted: Fri Feb 24, 2012 11:05 am Post subject: |
|
|
Just found the answer myself - the expression needs to start with (?Ex). |
|
Back to top |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Fri Feb 24, 2012 3:50 pm Post subject: |
|
|
Good to hear that you were able to resolve things.
Peter. |
|
Back to top |
|
 |
|