# Bulk move many topics from one category to another

**URL:** https://meta.discourse.org/t/bulk-move-many-topics-from-one-category-to-another/38704
**Category:** Support
**Created:** [1월 29, 2016, 1:54오후 UTC](https://meta.discourse.org/t/bulk-move-many-topics-from-one-category-to-another/38704 "2016-01-29T13:54:15Z")
**Posts on this page:** 1
**Showing post:** 34

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [4월 4, 2022, 10:52오후 UTC](https://meta.discourse.org/t/bulk-move-many-topics-from-one-category-to-another/38704/34 "2022-04-04T22:52:19Z")

</div>

해당 주제를 정리하고, OP(원문)의 질문에 대한 현재 최선의 해결 방법을 추가했습니다. 누락된 부분이 있거나 문제가 보이면 편하게 답변해 주세요.

⚠ 문제가 생길 경우를 대비해 대규모 일괄 변경을 수행하기 전에 반드시 백업을 만들어 두세요…

## UI를 통해 태그/주제 일괄 이동:

작은 카테고리나 주제의 일부 집합에 대해서는 일괄 선택 도구가 충분할 수 있습니다(알림에 대한 주의사항은 이 게시글의 끝에 있습니다).

 ![Screen Shot 2022-04-04 at 3.45.07 PM](https://global.discourse-cdn.com/meta/original/3X/1/a/1ab06f96563ee96623df26a9e0cb2e5106f0ae83.jpeg)

 ![Screen Shot 2022-04-04 at 3.45.21 PM](https://global.discourse-cdn.com/meta/original/3X/5/0/506abd82209271008a8442913c7f247f19433c03.jpeg)

 ![Screen Shot 2022-04-04 at 3.45.35 PM](https://global.discourse-cdn.com/meta/original/3X/6/5/65968a5be089c9ab2376afd8832f74b888d8f689.jpeg)

## 한 카테고리의 모든 주제를 다른 카테고리로 이동

먼저 사이트 컨테이너에 진입합니다:

```plaintext
cd /var/discourse
./launcher enter app

```

> [@tshenry](#):
>
> 다음 rake 작업을 사용하여 카테고리 ID를 찾습니다:
> 
> ```plaintext
> rake categories:list
> 
> ```
> 
> 첫 번째 값은 시작 카테고리 ID여야 합니다. 두 번째 값은 대상 카테고리 ID여야 합니다.
> 
> ```plaintext
> rake categories:move_topics[15,6]
> 
> ```

* * *

## 카테고리 내 모든 주제에 태그 일괄 적용:

먼저 사이트 컨테이너에 진입합니다:

```plaintext
cd /var/discourse
./launcher enter app

```

> [@tshenry](#):
>
> 템플릿: `rake tags:bulk_tag_category["<tag>|<tag>",<category_id>]`  
> 이는 카테고리를 태그로 변환하려는 경우에 특히 유용합니다.
> 
> 먼저 다음 rake 작업을 사용하여 관련 카테고리 ID를 찾습니다.
> 
> ```plaintext
> rake categories:list
> 
> ```
> 
> 지정한 카테고리의 모든 주제에 태그를 적용합니다. 이 예시에서는 ID가 6인 카테고리의 모든 주제에 “support” 태그를 적용하게 됩니다. ⚠ 이 작업은 각 주제에서 다른 모든 태그를 제거합니다.
> 
> ```plaintext
> rake tags:bulk_tag_category["support",6]
> 
> ```
> 
> 지정한 카테고리의 모든 주제에 태그를 추가합니다. 이 예시에서는 ID가 6인 카테고리의 모든 주제에 “support” 태그를 추가하되, 기존 태그는 유지합니다.
> 
> ```plaintext
> rake tags:bulk_tag_category["support",6,true]
> 
> ```

* * *

이러한 방법들이 어떤 유형의 알림을 트리거하는지 100% 확신하지는 못하지만, 알림이 발송되지 않도록 확실하게 하고 싶다면 작업 중에 다음 설정을 확인하는 것을 권장합니다:

- `disable_category_edit_notifications`
- `disable_tags_edit_notifications`

---

_[View the full topic](https://meta.discourse.org/t/bulk-move-many-topics-from-one-category-to-another/38704)._
