Export and import pacman packages on arch

ArchLinux

Export...

pacman -Qqe | grep -Fvx $(pacman -Qqm) > ./fatty-apps.txt

Import...

xargs pacman -S --needed --noconfirm < ./fatty-apps.txt