update-desktop-database: add page (#22766)

This commit is contained in:
商心辞
2026-06-14 00:00:50 +08:00
committed by GitHub
parent b89f0c61b2
commit f7ab4830e7
+24
View File
@@ -0,0 +1,24 @@
# update-desktop-database
> Build the cache database of MIME types handled by desktop files.
> More information: <https://manned.org/update-desktop-database>.
- Update the desktop file MIME type cache for standard system directories:
`sudo update-desktop-database`
- Update the cache for a specific desktop file directory:
`update-desktop-database {{path/to/directory}}`
- Update the cache for multiple directories:
`update-desktop-database {{path/to/directory1 path/to/directory2 ...}}`
- Update the cache without displaying any output:
`update-desktop-database {{[-q|--quiet]}}`
- Update the cache with verbose output:
`update-desktop-database {{[-v|--verbose]}}`