How to archive the `pub/media/catalog` folder into a multi-part RAR archive?

cd pub/media/catalog
rar a -v500000k product.rar product -xproduct/cache

See also:

Cleanup

Archiving