Truncate file name with Automator
Hello,
I have file with names such as
107633_Kane_1
107592_martin_5
108005_Megan_3R
etc.
I would like to batch process them and rename all files keeping only the 6 digits from the left. The remaining part of the file name shall be removed. The truncation could be done by either keeping 6 characters from the left or by removing everything right starting with the underscore.
I have tried the Rename Finder Items action of Automator, but I can't find the correct way to remove everything starting with the underscore (I have tried placeholder like * $ %).
Anyone has an idea for the easiest way to keep 6 character (ideally not using Terminal command as I am not technical) ?
Thanks !