# 批量永久删除已删除的帖子？

**URL:** <https://meta.discourse.org/t/delete-deleted-posts-permanently-in-bulk/203289>\
**Category:** Support\
**Created:** [2021年九月12日 04:15 UTC](https://meta.discourse.org/t/delete-deleted-posts-permanently-in-bulk/203289 "2021-09-12T04:15:12Z")\
**Posts on this page:** 1\
**Showing post:** 51

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2021年十一月28日 11:29 UTC](https://meta.discourse.org/t/delete-deleted-posts-permanently-in-bulk/203289/51 "2021-11-28T11:29:57Z")

</div>

> [@Sam](#):
>
> Post.where(‘topic\_id not in (select id from topics)’)

这能得到你想删除的帖子吗？

---

_[View the full topic](https://meta.discourse.org/t/delete-deleted-posts-permanently-in-bulk/203289)._
