7 lines
252 B
Bash
7 lines
252 B
Bash
|
#!/bin/bash
|
||
|
# Exports all installed packages, including foreign ones (AUR)
|
||
|
# This can be used as a reference, or to reinstall packages with:
|
||
|
# `cat pacman.lst | xargs pacman -S --needed --noconfirm`
|
||
|
|
||
|
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst
|