zupdate/commands/pacman_ext_size
zawz 52a35fe7d1 + Add package regex match
+ Add target all option
* Restructure commands
2020-08-11 16:27:39 +02:00

2 lines
193 B
Bash

#!/bin/sh
pacman -Si --dbpath "${TMPDIR:-/tmp}/checkup-db-$USER/" --logfile /dev/null %s | grep -E '^Version|^Download Size|^Installed Size' | cut -d':' -f2- | sed 's/ //g;1!s/iB$//g;1!s/B//g'