sync:upload-directory
This command updates old file format data to the modern format and synchronizes the file usage records in the database. File usage data for a given file in the file manager can be viewed in the File Editor. This functionality is also available through Utilities - File Usage.
Example:
php eecli.php sync:file-usage