How can I compress files only using all 4 of my cores?

I would like to zip up files using all of my 4 cores.

Only single files, not directories.

I can not figure out how to put in the compressed file name and a wild card for the files I would like compressed.

Pigz is recommended.

Some of my research.

Use 7 zip to create a password protected  compressed file and files not visible

$ 7z a -p -mhe=on test.7z *.mp3

Not sure what you are looking for, but here are two references you might want to look at:

One example shows the following format to specify 4 cores used:

pigz -p4 filename.mp3
4 Likes