Skip to content

Creates a pacman (Arch Linux) repo of installed pkgs found in your pacman cache dir, and copies them to the repo

License

Notifications You must be signed in to change notification settings

stepb/repo-create-cache-repo

Repository files navigation

 Usage:  repo-create-cache-repo <repo-name> [<repo-path>]
   Creates a pacman repo of installed pkgs found in your pacman cache
   dir (assuming you only have one). And copies the packages to the repo.
 Command line args:
   repo-name    name your repo. You should put this name in your
                pacman config
   repo-path    defaults to working dir

I use this little Haskell program to help clone my Arch setup to another computer.

Let me know if there are any bugs, or if you want this in AUR.

Does anyone use more than one pacman cache dir? If so, it would be easy for me to add support for this.

About

Creates a pacman (Arch Linux) repo of installed pkgs found in your pacman cache dir, and copies them to the repo

Resources

License

Stars

Watchers

Forks

Packages

No packages published