diff --git a/scripts/list_packages_sorted_by_install_date.sh b/scripts/list_packages_sorted_by_install_date.sh new file mode 100644 index 0000000..dcf7a97 --- /dev/null +++ b/scripts/list_packages_sorted_by_install_date.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +for i in $(pacman -Qq) +do + grep "\[ALPM\] installed $i" /var/log/pacman.log +done | \ + sort -u | \ + sed -e 's/\[ALPM\] installed //' -e 's/(.*$//'