summaryrefslogtreecommitdiffhomepage
path: root/pacins
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-08-14 18:16:08 -0400
committerrealtradam <[email protected]>2023-08-14 18:16:08 -0400
commit440f126691c42e45b7c85e130c0bec9f6a8ab0df (patch)
tree38f04bf592476ef202eb30b6dbfbcae99ff33081 /pacins
downloadScripts-440f126691c42e45b7c85e130c0bec9f6a8ab0df.tar.gz
Scripts-440f126691c42e45b7c85e130c0bec9f6a8ab0df.zip
Diffstat (limited to 'pacins')
-rwxr-xr-xpacins3
1 files changed, 3 insertions, 0 deletions
diff --git a/pacins b/pacins
new file mode 100755
index 0000000..17e70d1
--- /dev/null
+++ b/pacins
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+awk '/%NAME%/{getline;PKG=$1} /%INSTALLDATE%/{getline;IDATE=strftime("%Y-%m-%d %H:%M",$1);print IDATE" "PKG}' /var/lib/pacman/local/*/desc | sort -r