Help creating a rule/script?

Hi! I’m trying to figure out how to create a rule that copies the file name to the alias field when I upload a file. This is because I want to rename the file when it gets uploaded to my devonthink, but I want to keep the original file name (for organizing purposes). Any help would be appreciated! Thanks!

Please clarify what you mean by upload a file. Thanks.

Instead of a rule, I use a script to assist with processing inbox entries
Such things as renaming files, assigning tags, moving to my filing database, …
It’s easily to add storing the original name as an alias

1 Like

I meant, when I drag a photo or pdf into my devonthink database

Thanks for the clarification!
This is easily done like so…


1 Like