Skip to content

This is a CLI tool to backup currently installed packages and restore the packages later.

License

Notifications You must be signed in to change notification settings

potatogod3000/package-flashback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

package-flashback (CLI Tool)

About

This is a CLI tool for Linux-based operating systems to backup currently installed packages as a list and then restore the same selection of packages in a fresh install of the OS.

NOTE: This tool currently only supports Arch Linux, Debian GNU/Linux, Fedora Linux and Ubuntu (its derivatives).

Usage

package-flashback <argument>

A list of all the arguments are given in the table.

Argument Description
-i Shows installed packages count.
-p Prints all the installed packages.
-se Searches the entered string (passed as an argument) against all the currently installed packages.
Example: package-flashback -se "kernel"
-sv Saves the installed packages to '$XDG_DATA_HOME/package-flashback/packagesInstalled.txt'.
NOTE: XDG_DATA_HOME is located at '$HOME/.local/share'.
-re Restores packages from 'packagesInstalled.txt' file found at the location (passed as an argument).
Example: package-flashback -re "~/Documents/packagesInstalled.txt"
-h Displays help and exits.

About

This is a CLI tool to backup currently installed packages and restore the packages later.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published