Truncate Names to delete last 32 characters

Hi folks! I recently exported all of my data out of Notion and converted the files into PDF using a utility. The Notion export tacked on a 32 character global ID to all of my filenames. Is there anyway I can write a smart rule that will truncate the last 32 characters from the filename? Thanks so much.

Found it. Using the Rename script and use this for source:
^(.*).{32}$ then \1 for destination. :slight_smile:

2 Likes

Here is a batch process configuration for DEVONthink 4…

Awesome! Thanks so much, Jim!

You’re welcome :slight_smile:

1 Like

Another screen grab that made me wish I was updating my MacOS and going DT4 this week and not (hopefully) three weeks from now. The curse of getting too much work.

1 Like

All in good time, my friend :slight_smile: