I was thinking it could be useful to have a way to keep the mirror up-to-date independently of the package installation of a particular instance of Emacs running on one's machine. (Basically thinking of this in the aftermath of gnu.org, including elpa.gnu.org being down for a while.
Run env HOME=/path/to/dir emacs --batch -l "~/.emacs.d/early-init.el" -l "~/.emacs.d/init.el"
Then run elpa-mirror.el in shell with same env variable HOME.
I was thinking it could be useful to have a way to keep the mirror up-to-date independently of the package installation of a particular instance of Emacs running on one's machine. (Basically thinking of this in the aftermath of gnu.org, including elpa.gnu.org being down for a while.