Last active
December 4, 2016 10:34
-
-
Save xguse/5cb6a0ed87d264d3a70b to your computer and use it in GitHub Desktop.
pacman backup and restore commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacman -Qqe | grep -v "$(pacman -Qqm)" > pacman.lst | |
cat pacman.lst | xargs pacman -S --needed --noconfirm | |
======================== | |
$ pacman -Qqe | grep -vx "$(pacman -Qqm)" > Packages | |
$ pacman -Qqm > Packages.aur | |
# cat Packages | xargs pacman -S --needed --noconfirm | |
# cat Packages.aur | xargs yaourt -S --needed --noconfirm | |
==================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment