Missing Extensions; Period In Name
I was just stymied by a set of files that were missing extensions and which had a period in their name. Something like:
1. Joe Vocal 1
1. Joe Vocal 2
2. Joe Vocal Harmony
All I wanted to do was add ".M4A" to the extension but AR was throwing back the most bizarre results regardless of the methods I tried, and the _Apply To_ options I had set (Name only, Name + Extension, Extension only).
AR didn't understand that the period was part of the file name and not the delimiter, and I could not figure out a way around this. Probably user error but for the record I've used AR on an occasional basis for probably 20 years so I know my way around the software.
Anyway, I ended up renaming the files by hand but thought I'd vent here.
1. Joe Vocal 1
1. Joe Vocal 2
2. Joe Vocal Harmony
All I wanted to do was add ".M4A" to the extension but AR was throwing back the most bizarre results regardless of the methods I tried, and the _Apply To_ options I had set (Name only, Name + Extension, Extension only).
AR didn't understand that the period was part of the file name and not the delimiter, and I could not figure out a way around this. Probably user error but for the record I've used AR on an occasional basis for probably 20 years so I know my way around the software.
Anyway, I ended up renaming the files by hand but thought I'd vent here.
Reply to #1:
A file: "1. Joe Vocal 1" actually *does* have an extension of " Joe Vocal 1" (with a leading space)!
You can verify this with powershell, etc.
Anywho, two rename methods fix such files right up.
First, create a "New Name" method using tags: <Name>.<Ext>
Second, create a "New Name" method set to: M4A
But set this to apply to Extension.
That script works a treat in Aren version 4.19 (and probably (most) all others)
~~~~~~~~~~~~
If a file has NEITHER an extension nor a period, then the first rename would be just <Name> (no period).
If both types are present, then you need three methods total and use {if} conditionals to choose between the first two.
A file: "1. Joe Vocal 1" actually *does* have an extension of " Joe Vocal 1" (with a leading space)!
You can verify this with powershell, etc.
Anywho, two rename methods fix such files right up.
First, create a "New Name" method using tags: <Name>.<Ext>
Second, create a "New Name" method set to: M4A
But set this to apply to Extension.
That script works a treat in Aren version 4.19 (and probably (most) all others)
~~~~~~~~~~~~
If a file has NEITHER an extension nor a period, then the first rename would be just <Name> (no period).
If both types are present, then you need three methods total and use {if} conditionals to choose between the first two.
Reply to #2:
Hi friends,
One replace method will do it as well:
Replace: "$"
With: "\.M4A"
(Leave out the quote marks)
Case sensitive: unchecked
Use regular expressions: checked
Apply to: Name and extension
That's a strange problem.
Best,
DF
Hi friends,
One replace method will do it as well:
Replace: "$"
With: "\.M4A"
(Leave out the quote marks)
Case sensitive: unchecked
Use regular expressions: checked
Apply to: Name and extension
That's a strange problem.
Best,
DF
Reply to #3:
Yeah DF, yours is a better approach. :)
Yeah DF, yours is a better approach. :)
Reply to #4:
Hi Randy,
Nah, they're both good. Because they work! :)
You could also replace the period with a marker character, add the extension, then change the marker back to a period. That would be fine and dandy too... Or a script of course, but you still have to do something like `return name + item.ext + ".M4A";` LOL
Best,
DF
Hi Randy,
Nah, they're both good. Because they work! :)
You could also replace the period with a marker character, add the extension, then change the marker back to a period. That would be fine and dandy too... Or a script of course, but you still have to do something like `return name + item.ext + ".M4A";` LOL
Best,
DF
Reply to #1:
Hi all.
Another one that works.
Add: .m4a
At index:0
Backwards:
Apply to extension (Name and extension also works)
Regards
Hi all.
Another one that works.
Add: .m4a
At index:0
Backwards:
Apply to extension (Name and extension also works)
Regards
Reply to #6:
GOOOOOOOOOOOOAAAAAAAAAALLLLLLLLLLLL Miguel!
Hey dude, missed ya! :)
Funny, I tried an add backwards method first but didn't get it to work. I'm not sure what I was doing wrong...
Best,
DF
GOOOOOOOOOOOOAAAAAAAAAALLLLLLLLLLLL Miguel!
Hey dude, missed ya! :)
Funny, I tried an add backwards method first but didn't get it to work. I'm not sure what I was doing wrong...
Best,
DF
Reply to #5:
Hi, all, thanks for the suggestions.
I'm going to download the files again and try with your methods.
Will report back.
Hi, all, thanks for the suggestions.
I'm going to download the files again and try with your methods.
Will report back.