list rpms by date ❤
Command | Description |
---|---|
rpm -qa --queryformat "Package: %{NAME} \t Version: %{VERSION} \t Installed: %{INSTALLTIME:date}\n" | grep $_DATE |
get a list of packages installed on a certain date (date format: 19 Mar 2019) |
rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} INSTALLED: %{INSTALLTIME:date}\n" | grep "$(date +"%b %Y")" |
print packages installed this month |