pkg

Migrate Packages from Host A to Host B

How to migrate all Packages Got several Packages installed on Host A and you would like to migrate them to Host B ? That’s easy :) Extract on Host A pkg_info -mz | tee list ansible-- bash-- ... vnstat-- wget-- scp list HostB:/tmp/ Import on Host B doas pkg_add -l /tmp/list