I am renaming over 40,000 files and I need to preserve the original file name and folder path into the metadata. I know Directoy Opus allows me to use a Description field where I can store the folder path, but I also want to store the original filename in it as well.
Edit: Including follow-up info from our private message in case it helps anyone else:
You create a new button on your toolbar which runs the command I provided, then select the files and click the button you created.
To create a new button, select Settings -> Customize (a Customize window will appear; ignore that for now), then right-click some empty space on your toolbar and select New -> New Button.
Paste the command I provided into the Function: field of the button, then click OK in that, and click OK in the Customize window that appeared earlier.
Now select a test file and click the button. Its description should be changed to its path.
That stuff is automatically generated and can't be cleared at the moment.
(It's not actually written into the descript.ion file that stores the file descriptions; it's something Opus generates each time the file's information is shown. So it's not being stored as part of the description but it is currently always shown.)
This is useful. Is there a reference for these commands? We would like to create a button in Opus where we could take what was in the Description field before and prepend text literals to it. Is this possible? What is the appropriate syntax?
Push F1 in Opus and look in the Opus Raw Commands section near the bottom.
No, not at the moment, at least without involving some external scripts or tools. You can set the description using basic Opus commands but you cannot append/prepend things to its existing value, except interactively (one file at a time).