How to pack all product images into a multi-part RAR archive?

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

See also: