# Move all topics from 1 category to other and tagging

**URL:** <https://meta.discourse.org/t/move-all-topics-from-1-category-to-other-and-tagging/51069>\
**Category:** Product Support\
**Created:** [Octobre 4, 2016, 1:29 UTC](https://meta.discourse.org/t/move-all-topics-from-1-category-to-other-and-tagging/51069 "2016-10-04T13:29:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![junaid\_pk14](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/junaid_pk14/32/67840_2.png) [@junaid\_pk14](https://meta.discourse.org/u/junaid_pk14)\
**Post date:** [Octobre 4, 2016, 1:29 UTC](https://meta.discourse.org/t/move-all-topics-from-1-category-to-other-and-tagging/51069/1 "2016-10-04T13:29:32Z")

</div>

Hello,

We want to move all articles from 1 category to the other, Our categories article count range is from 10 to 34,000. We tried the way mentioned here [https://meta.discourse.org/t/move-topics-to-new-category/21313](https://meta.discourse.org/t/move-topics-to-new-category/21313) and it works well for few topics. Is there any other tool that help us to achieve this?

I checked myself in rails code and found a way to achieve this manually using rails console by following this piece of code  
operator = TopicsBulkAction.new(current\_user, topic\_ids, operation, group: operation[:group])  
changed\_topic\_ids = operator.perform!

Regards,  
Junaid

---

_[View the full topic](https://meta.discourse.org/t/move-all-topics-from-1-category-to-other-and-tagging/51069)._
