Created
January 28, 2016 17:11
-
-
Save scndthe2nd/8eca2698d1fea9ad1af2 to your computer and use it in GitHub Desktop.
This file contains 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
## Removes everything but base. Don't use F-kit unless you really mean to. | |
## Warning | |
## This isn't my code | |
## I found this and need to make sure i keep it. | |
## ArchLinux F-Kit | |
pacman -R $(comm -23 <(pacman -Qq|sort) <((for i in $(pacman -Qqg base); do pactree -ul $i; done)|sort -u|cut -d ' ' -f 1)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment