Mac OS X Technologies

Truncate file name with Automator Question marked as solved helpful ★ Latest reply  by  VikingOSX Latest update on the question 4 replies 19 views asked by  Nicolas M User profile for user: Belly Buckle Belly Buckle User level: Level 1 How Do I Create a Hot Key for "Create Subfolder Inside of this Folder?"

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 !

Click to rate this post!
[Total: 0 Average: 0]

Related posts

How to start jupyter notebook automatic?

Coolio

AppleScript 'choose from list'. How can I run a different command if multiple sections are chosen? Question marked as solved ★ Latest reply  by  Mark Paterson Latest update on the question 2 replies 22 views asked by  Mark Paterson User profile for user: APPLEAL APPLEAL User level: Level 2 eject time meachine partition Question marked as helpful ★ Latest reply  by  APPLEAL Latest update on the question 3 replies 20 views asked by  APPLEAL User profile for user: APPLEAL APPLEAL User level: Level 2 Script to quit all open apps gracefully Question marked as solved ★ Latest reply  by  Camelot Latest update on the question 3 replies 28 views asked by  APPLEAL User profile for user: Chuck's iphone Chuck's iphone User level: Level 1 What does Mac OS X9_2_0 stand for. Question marked as helpful ★ Latest reply  by  K Shaffer Latest update on the question 2 replies 52 views asked by  Chuck's iphone User profile for user: Efthemi Efthemi User level: Level 1 Automator Rename File

Andrey

Error 102, MacBook Pro

Pasha

Leave a Comment