Add command to change "Date added" values

Is it possible to add command to change "Date added" value (column for files in collections) like...

  • The accepted formats for the date string will be YYYYMMDD or YYYY-MM-DD, and the time string must be in the format HH:MM:SS
  • Like SetAttr ADDED "1973-09-22 3:35"
  • or "SetAttr ADDED=now"

Thanks

1 Like

I'm just curious. Why is 'Date Added' important to you, and for what type(s) of files?

I use collection at job with folders, grouped by status (labels) and instead of following since when I started to process, "Date added" column is perfect for me.
But this new column is added since 13.16 beta 6.
So I need command to add date to folders added before this version.

If you only need it once for the folders in old collections, you could edit the collection XML (.cct file) under /dopusdata/Collections.

Example .cct file for a collection with just one folder:

<?xml version="1.0" encoding="UTF-8"?>
<collection_contents>
	<item access="+1dbf5a5+56ccc170" added="2025-07-15 16:27:25.826" attr="16" create="+1dbf5a5+56ccc170" modify="+1dbf5a5+56ccc170" reserved0="0" size="0">C:\New Folder</item>
</collection_contents>

Changing the added="2025-07-15 16:27:25.826" part will change the added date for that item.

It's best to do the edits when Opus isn't running (File > Exit Directory Opus).

1 Like

Already done for some but not really user-friendly :wink:

To an arbitrary date? Or to today’s date?
Because if it’s the second one, wouldn’t it be easier to just copy the content to a new collection? That way, the added date would automatically be set to the copy time.

Also, any decent text editor should be able to modify that value in one go using regular expressions—unless I’m missing something?

No, arbitrary, treatment start dates.

Okay, forget my request. I have a new idea, do not display the column or write the dates on a piece of paper with any decent pen.
THE solution to do something in Opus now is to edit the configuration files with a text editor.

:wink:

If it's a one time operation, this sounds fine to me.
But I might have missed something.

Yes, editing the files using Notepad++'s column mode might even be easier than juggling commands in Opus.

We've added a command for this in the next beta.

3 Likes