Problem/Motivation
The current Digital Asset Management (DAM) system lacks the capability to track changes when the finalized version of an asset is modified, unlike its support for metadata updates and new version uploads. As a result, this module necessitates manual intervention of clicking "Check for Update" rather than automation through a cron job.
Proposed resolution
Provide a Drush command to update assets as needed, instead of relying on the cron run or manual click on "Check for Update"/"Sync metadata".
Command Help

Points to Notice
One point to note is that this call can be expensive or resource-intensive, especially if a large number of assets have finalized version changes. This will only occur the first time until all assets are queued. However, if this runs regularly, changes to large assets finalized version will be rare.
| Comment | File | Size | Author |
|---|
Issue fork acquia_dam-3540159
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajeshreeputraRequesting an early review.
Note: These commands can be further improved.
Comment #4
vipin.mittal18This is working as expected. The finalized version updates in the Acquia DAM system, and the Drush command retrieves the finalized version without needing to manually click the “Check for update” button each time.

Comment #7
japerryCommitting so we can get this into the next release. However, it'd be good to follow up with some tests to verify its functionality beyond a cursory review.