RPMFILE(1)

πŸ“¦
version 9.6 Β· 3 versions
, in fedora 43

πŸ’– RPMFILE(1) πŸ’–

okay bestie, gather round, because rpmfile is literally the moment ✨ it lives in the rpmdevtools squad and its whole job is snooping inside RPM packages to tell you what's in there and what kind of thing it is πŸŽ€


🌸 NAME 🌸

rpmfile β€” list file modes and types in RPM packages πŸ¦‹


✨ SYNOPSIS ✨

rpmfile [-h] [-a] [-p] [FILE...] [DIR...]

like that's it, that's the whole vibe check πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• rpmfile gives you three-column output:

  1. the file name
  2. the file mode (in octal, bestie, we love a base-8 moment)
  3. the file type β€” and that type is determined by file(1), no cap πŸ”₯

and then when you're processing a directory, plot twist 🫒 an additional column gets prepended to the output, and that column is typically the RPM file basename. so it's giving four columns. main character energy fr fr.


πŸŽ€ OPTIONS πŸŽ€

  • -a β€” process all Sisyphus packages. every single one. go big or go home πŸ’–
  • -p β€” when you're processing a directory, this lists package names instead of file names πŸ¦‹ and ALSO turns on special treatment for packages that share the same name β€” meaning it only processes the one with the latest version. iconic behaviour, honestly πŸ‘‘
  • -h β€” display this help and exit. the classic "help me bestie" flag πŸ™ˆ

🌈 AUTHOR 🌈

Written by Alexey Tourbin <at@altlinux.org> 🫢


πŸ’œ COPYING πŸ’œ

Copyright (c) 2005 Alexey Tourbin, ALT Linux Team.

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. slay, open source rights πŸ’…


🧚 SEE ALSO 🧚

rpmargs(1), rpm(8), rpm2cpio(8), file(1)

bestie if you're lost, rpm(8) is right there, go read it, iykyk 😭

and that's the whole page!! from the rpmdevtools girlies, version 9.6, dated 2025-08-09 β€” mwah, periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from