# 附件能否全部移至Drive或类似服务？

**URL:** <https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625>\
**Category:** Support\
**Created:** [2023年六月26日 11:20 UTC](https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625 "2023-06-26T11:20:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seth\_Godin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seth_godin/32/119667_2.png) [@Seth\_Godin](https://meta.discourse.org/u/Seth_Godin)\
**Post date:** [2023年六月26日 11:20 UTC](https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625/1 "2023-06-26T11:20:09Z")

</div>

我尝试搜索和使用 GPT，但都没有成功。

如果我能创建一个脚本或进行某种数据库操作，我们就可以将所有 PDF、文档和 JPG 移到一个云服务器上进行组织、搜索和归档。

或者，也许我只是在异想天开，这根本不可行……

谢谢。

---

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2023年六月26日 11:34 UTC](https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625/2 "2023-06-26T11:34:57Z")

</div>

有三种选择：

- 使用 [Data Explorer](https://meta.discourse.org/t/32566?silent=true) 创建一个查询，找出所有具有所需扩展名的 Upload 记录并打印 URL，然后将它们下载到文件夹
- 下载 SQL 备份，然后执行与上述相同的操作
- 下载包含所有上传内容的备份（需要临时启用我们托管的协助），然后提取该备份

使用前两种选择，您还可以获取原始文件名，以便在下载时保留它，但会出现冲突。

使用第三种选择，所有文件都将以其哈希值（长十六进制字符串）命名，但您可以使用 #1 或 #2 中的数据来重命名它们。

---

<div class="post-metadata">

**Author:** ![Seth\_Godin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seth_godin/32/119667_2.png) [@Seth\_Godin](https://meta.discourse.org/u/Seth_Godin)\
**Post date:** [2023年六月26日 11:51 UTC](https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625/3 "2023-06-26T11:51:43Z")

</div>

谢谢！非常感谢。

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年七月26日 11:52 UTC](https://meta.discourse.org/t/is-it-possible-to-move-all-the-attachments-to-drive-or-similar/269625/4 "2023-07-26T11:52:05Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
