Skip to content

tmiland/snapper-enhanced

Repository files navigation

snapper-enhanced

Enhancement that will add last package manager command as the description of the pre/post snapshot.

snapper-enhanced Image

                                                          __                              __
    _________  ____ _____  ____  ___  _____   ___  ____  / /_  ____ _____  ________  ____/ /
   / ___/ __ \/ __ `/ __ \/ __ \/ _ \/ ___/  / _ \/ __ \/ __ \/ __ `/ __ \/ ___/ _ \/ __  / 
  (__  ) / / / /_/ / /_/ / /_/ /  __/ /     /  __/ / / / / / / /_/ / / / / /__/  __/ /_/ /  
 /____/_/ /_/\__,_/ .___/ .___/\___/_/      \___/_/ /_/_/ /_/\__,_/_/ /_/\___/\___/\__,_/   
                 /_/   /_/                                                                     

Options are:

--install                      | -i
--uninstall                    | -u
--reinstall                    | -r
--install-snapper              | -s
--install-snapper-rollback     | -isr
--install-grub-btrfs           | -igb
--install-btrfs-assistant      | -iba

Installation

  • Latest release
git clone https://github.com/tmiland/snapper-enhanced.git ~/.snapper-enhanced && \
cd ~/.snapper-enhanced && \
git fetch --tags && \
release="$(git describe --tags "$(git rev-list --tags --max-count=1)")" && \
git checkout $release && \
./install.sh -i
  • Main
git clone https://github.com/tmiland/snapper-enhanced.git ~/.snapper-enhanced && \
cd ~/.snapper-enhanced && \
./install.sh -i
  • Update
cd ~/.snapper-enhanced && \
git pull && \
./install.sh -r

Inspiration

Donations

Coindrop.to me

Disclaimer

*** Use at own risk ***

License

MIT License Image

MIT License