update-desktop-database
Build the cache database of MIME types handled by desktop files. tldr-pages
On Linux
Linux
Update the desktop file MIME type cache for standard system directories
sudo update-desktop-databaseIdentifyUpdate the cache for a specific desktop file directory
update-desktop-database path/to/directoryIdentifyUpdate the cache for multiple directories
update-desktop-database path/to/directory1 path/to/directory2 ...IdentifyUpdate the cache without displaying any output
update-desktop-database --quietIdentifyUpdate the cache with verbose output
update-desktop-database --verboseIdentify