pkgsync: Download Full Pacman Repository

Description Usage Arguments Examples

Description

List and download all packages in a pacman repository. Useful for mirroring the repository locally or to another server.

Usage

1
2
3
pacman_ls(url, repo = basename(url))

pacman_download(url, repo = basename(url), destdir = basename(url))

Arguments

url

full URL to the location of the repo

repo

name of the repository db files. Usually this is equal to the dirname.

destdir

where to store downloaded files.

Examples

1
2
pacman_download('http://dl.bintray.com/rtools/mingw32/')
pacman_download('http://dl.bintray.com/rtools/mingw64/')

jeroen/pacmantools documentation built on Nov. 15, 2019, 12:07 a.m.