Created
October 5, 2025 17:51
-
-
Save mrwormhole/c6ebc3c1044ed433acc4232905458eef to your computer and use it in GitHub Desktop.
outputs all pacman packages
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
| #!/bin/bash | |
| # Output file with timestamp | |
| OUTPUT_FILE="$HOME/Documents/pacman-packages-$(date +%Y%m%d-%H%M%S).txt" | |
| # List ALL installed packages (including dependencies) | |
| pacman -Q > "$OUTPUT_FILE" | |
| echo "Package list saved to: $OUTPUT_FILE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment