Add a script that lists packages sorted by install date
This commit is contained in:
parent
7842482269
commit
66cbd6d36e
8
scripts/list_packages_sorted_by_install_date.sh
Normal file
8
scripts/list_packages_sorted_by_install_date.sh
Normal file
@ -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/(.*$//'
|
Loading…
Reference in New Issue
Block a user