update-mime-database(1)

๐Ÿ“ฆ
version 2.5.1 ยท 2 versions
  • 2.5.1 ยท alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.1 ยท centos-stream 9, ubuntu jammy
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian bookworm, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– update-mime-database(1) ๐Ÿ’–

Manual name: update-mime-database(1), from the X Desktop Group โœจ


โœจ NAME โœจ

okay so update-mime-database is a program that builds the Shared MIME-Info database cache ๐Ÿงš it's literally the thing that keeps your file types organized, bestie ๐Ÿ’…


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

update-mime-database -h | -v | [ -V | -n ] MIME-DIR

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so update-mime-database is the program in charge of updating the shared mime-info cache. it follows the system laid out in the Shared MIME-Info Database specification from the X Desktop Group, and it's giving main character energy โœจ


๐Ÿฆ‹ OPTIONS ๐Ÿฆ‹

  • -h โ€” slide in and print out a command summary ๐Ÿ“
  • -v โ€” print out the version information ๐Ÿ”ข
  • -V โ€” be verbose ๐Ÿ—ฃ๏ธ
  • -n โ€” only update if MIME-DIR/packages/ or a file inside that directory is newer than MIME-DIR/version. this one is lowkey perfect for package pre- and post-installation scripts ๐Ÿซถ

๐Ÿ‘‘ ARGUMENTS ๐Ÿ‘‘

  • MIME-DIR โ€” this is the directory whose cache update-mime-database should rebuild ๐Ÿ’œ it's mandatory if none of the options is provided

๐Ÿ’… AUTHOR ๐Ÿ’…

Filip Van Raemdonck (mechanix@debian.org) wrote this manpage for the Debian GNU/Linux project, but it's free for others to use too ๐ŸŒˆ


๐Ÿ”ฅ LICENCE ๐Ÿ”ฅ

Copyright (C) 2002 Thomas Leonard. You may redistribute copies of update-mime-database under the terms of the GNU General Public License. no cap, that's the rule ๐Ÿ“


bestie, nothing here is for show, this is the whole deal ๐Ÿ™ˆ

Sign-off: Filip Van Raemdonck, 26 Jul 2002, X Desktop Group. Stay iconic, bestie ๐Ÿฆ‹๐Ÿ’–โœจ