From 9c7cc940830bcef789fd73947840a89ac128a121 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 26 Dec 2019 02:25:32 +0100 Subject: [PATCH] Recover installed packages for pacman.log --- how_to | 2 ++ 1 file changed, 2 insertions(+) diff --git a/how_to b/how_to index 4efa3f2..5bb7c95 100644 --- a/how_to +++ b/how_to @@ -51,6 +51,8 @@ pacman : -Rns <> Remove program, its unused dependencies, and config files -Qi <> Package information -Fo Which package the file belongs to + Recover installed packages from /var/log/pacman.log + (awk '$3 ~ /installed/{print $4}' /var/log/pacman.log | sort | uniq; sed -En 's@.*/home/lhark/aur/(.*)/.*@\1@p' /var/log/pacman.log) | sort | uniq -u > package-list ABS : (Arch Build System) pacman -S abs