> For the complete documentation index, see [llms.txt](https://sugoi.gitbook.io/lanraragi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sugoi.gitbook.io/lanraragi/dev/advanced-usage/batch-tagging.md).

# 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.

Within the Archive Index, you can enable *Selection Mode* either through the context menu or the "Select Archives" button.

![Selection Mode UI](/files/HrDDaKTZ1GVB8KG4GLDk)

In this mode, you can search the Index as usual, but clicking on an Archive will add it to the selection, hosted within the carousel interface. The selection persists across searches.\
You can also add every Archive in the current page to the selection by clicking the double-checkmark icon.

Once you've selected all the Archives you want to work on, you can click the Hammer button to go to the Batch Tagging interface.

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

Your selection will be shown in the checklist on the right. 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/dev/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/TLnAJ1aTft4vIQ1dtE6M)

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