Copying pkgs from one system to another

What is the simplest way of copying pkgs from one system to another?

I guess I can get a list from one system and subsequently pipe that list into pkg install on the other system using

cat pkg-listfile | xargs pkg install -y

Not sure how to get that list in the first place.... maybe pkg prime-list > pkg-listfile ....

Does that sound right?
 
Back
Top