Export and import pacman packages on arch

Arch Linux

Export...

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

Import...

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

© 2024 Code0x378