The code shared by @Bjorn is not compatible with WooCommerce V10.0.
Anyone care to modify the code ?
It's very useful to bulk update the product category from wordpress admin for specific SKUs.
Thanks in Advance.