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. :)