项目作者: JoaoCostaIFG
项目描述 :
Pacman hook to save pacman/AUR packages in github gists and handle their info.
高级语言: Shell
项目地址: git://github.com/JoaoCostaIFG/pbg.git
Pacman Backup Gist (pbg)
This script and pacman hook saves all installed native and AUR packages
installed in your machine to 2 github gists and updates this information
automatically.
This small project was heavily inspired in pug which
pretty much accomplishes the same objectives with some small differences (this project
doesn’t use backup files and has some extra functions):
- List packages currently saved in the gists (just pacman natives, just AUR or both)
(-s/-u flag); - Using -Ss allows you to search for a given string on your gists (might).
This is useful because the packages you have uploaded on your gists might be different
from the ones you have on your computer currently (if syncing different machines); - Automatically install/uninstall packages to sync your machine with the information
in the gists (-f flag): currently only supports pacman native packages; - No need to provide your github credentials as you have the option to provide
an access token with gist permissions instead; - You can check the help text with the: -h, -H, -help or —help flags.
Install
- Install the gist package (if you haven’t already)
sudo pacman -Syu gist
- Clone the repository
https://github.com/JoaoCostaIFG/pbg.git
- Use the makefile
sudo make install
- Go through the init process
sudo pbg
- (optional) Check the help page for details/extra functions
pbg -h