# Batch Operations

It's a pretty common occurence: You imported archives without enabling automatic tagging, or you suddenly want to add tags to a lot of archives at once.

Editing tags manually for each file ain't gonna cut it...

Enter **Batch Tagging**, allowing for laser-focus, one-time operations over large sets of archives.

![Batch Tagging interface as of 0.5.6](/files/T2RYuc10wZHoLWfiXGZZ)

All your archives are shown in the checklist on the right, with archives with no tags pre-checked for ease of access.

Past that, it's just a matter of selecting what you want to do, optionally plugging in special arguments for the run, and going ham on batching!

The currently available operations are:

* **Use Plugin**: Use a plugin on the selected archives. The arguments available for overriding will depend on the plugin.
* **Apply Tag Rules**: Apply your default [Tag Rules](/lanraragi/advanced-usage/tag-rules.md) to the selected archives.
* **Clear New**: Remove new flag from selected archives.
* **Delete**: Delete the selected archives.

{% hint style="info" %}
As shown in the screenshot, you can only override **Global Arguments** in Batch Tagging.

One-shot arguments, such as specifying a E-Hentai URL, are only available when editing a single archive through the classic Edit menu.
{% endhint %}

If you set a timeout value, the batch session will wait the specified time between archives.

![Batch Tagging status window](/files/3YeUWV0rm9pgoJJk99RM)

While a batch session runs, you get a live summary of what the server is doing, and can cancel at any time.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sugoi.gitbook.io/lanraragi/advanced-usage/batch-tagging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
