Restore Installed Applications
To list explicitly installed packages.
pacman -Qqe > pkglist.txtRegular repo
Remove AUR packages from explicitly installed package list, and save to file native.txt.
bash -c "comm -12 <(pacman -Slq | sort) <(sort pkglist.txt)" > native.txtInstall them on new system after selecting wanted packages.
pacman -S - < native.txtAUR
List aur packages. Dont forget to edit.
pacman -Qmq > aur.txtOn new system, install.
pacaur -S - < aur.txtLast updated