> For the complete documentation index, see [llms.txt](https://academy.shade.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.shade.inc/guides/guides-zh/sou-suo-ai-he-dang-an/qing-li-cun-chu-kong-jian.md).

# 清理存储空间

查找并删除重复文件，安全清空废纸篓，并保持存储空间可控。

**结果：** 删除重复副本，将回收站中你确定不需要的内容清空，并建立一个防止存储空间再次悄然增长的例行流程。

**适用对象：** 关注存储使用情况的工作区管理员，尤其是在迁移之后。

**时间：** 第一次大约 30 分钟，之后每季度大约 10 分钟。

## 开始前

* 你要清理的云盘需具有编辑权限。
* 请记住，回收站中的文件在永久删除之前仍会占用工作区存储空间。

## 步骤

{% stepper %}
{% step %}

### 检查重复项，先看最大的

在左侧边栏中，打开该云盘并点击 **重复项**。每组都会显示有多少个副本，以及多余副本占用了多少存储空间。先从浪费最多的组开始。

Shade 比较的是文件内容，而不是名称，所以在这里被标记的文件是相同的，即使它们名称不同。重复项是在同一云盘内查找的，不会跨云盘。参见 [重复检测](https://academy.shade.inc/assets/duplicate-detection).
{% endstep %}

{% step %}

### 保留正在使用的副本

在删除副本之前，右键单击它，在其文件夹中显示出来，并检查它是否在某处被引用，例如某个集合、共享链接或编辑项目。将副本保留在大家实际使用的文件夹中，其余的从 **重复项** 视图中移入回收站。

{% hint style="warning" %}
编辑项目会指向特定的文件路径。删除项目所使用的副本会断开它与该媒体的链接，即使其他地方存在完全相同的文件也是如此。
{% endhint %}
{% endstep %}

{% step %}

### 有意识地清空回收站

打开该云盘的 **回收站**。如果对某些内容不确定，就将其移回该云盘。其余内容请右键单击并选择 **立即删除** 来释放空间。此操作无法撤销。参见 [管理你的回收站](https://academy.shade.inc/workspaces-and-drives/managing-your-trash).
{% endstep %}

{% step %}

### 将已完成的工作移出活动云盘

将已完成的项目移到共享的 **Archive** 云盘中。如果你的套餐支持，可使用你自己的存储为该云盘提供支持。参见 [使用你自己的 S3 存储](https://academy.shade.inc/byos/bring-your-own-s3-storage).
{% endstep %}

{% step %}

### 每季度重复一次

系统会定期重新检查重复项，因此新的副本会随着时间出现。请在日历中设置一个季度提醒，重复前面三个步骤。
{% endstep %}
{% endstepper %}

{% hint style="danger" %}
在 Finder 或 Explorer 中直接从已挂载的云盘删除的文件会绕过 Shade 的回收站，且无法恢复。请改为在 Shade 应用中删除。
{% endhint %}

## 相关指南

* [构建可搜索的归档](/guides/guides-zh/sou-suo-ai-he-dang-an/gou-jian-ke-sou-suo-de-gui-dang.md)
* [从 Dropbox 或 Google Drive 迁移](/guides/guides-zh/she-zhi-he-qian-yi/cong-dropbox-huo-google-drive-qian-yi.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://academy.shade.inc/guides/guides-zh/sou-suo-ai-he-dang-an/qing-li-cun-chu-kong-jian.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
