Rpmfile

Latest version: v1.1.1

Safety actively analyzes 621876 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

1.1.0

bz2 support, thank you OneMoreByte!

1.0.8

If a CPIO archive contained an entry for a directory we attempted to
identify it via nlinks. Since it should have at least two nlinks if it's a
directory.

However, We stumbled across a case where this is not true. By using
the mode bits we should be able to correctly identify directories without
relying on nlinks. We're now using mode bits.

1.0.7

Use setup.cfg and setuptools_scm for version

1.0.6

For the command line interface, only print file paths when extracting if `-v/--verbose` is given

1.0.5

Extract rpm files from the command line

You can use `rpmfile` via it's module invocation or via `rpmfile` command if
your `PATH` environment variable is configured correctly. Pass `--help` for all
options.

List RPM contents

conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | python -m rpmfile -l -
./path/to/file


Extract files

conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -x -
./path/to/file


Extract files to directory

conosle
curl -sfL 'https://example.com/some.rpm.gz' | gzip -d - | rpmfile -xC /tmp -
/tmp/path/to/file

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.