# Mass edit

Mass edit allows you to edit several files or categories at once, to fill in fields identically or to fill in these fields with predefined "tags".

## Tags

Tags are keywords enclosed in braces. There are two types of tags: variables and modifiers.

## Variables

Variables can only be used in their corresponding fields. For example, the {TITLE} variable can only be used in the "Title" field. By default, this field contains only the {TITLE} variable. This tag corresponds to a variable which contains the current title of the file (or category) and therefore the title will not be modified if you leave this field unchanged with its corresponding variable. If, on the other hand, you wish to delete the content of a field, you need to leave it empty (without tag and without content), which is only possible with the description.

## Modifiers

Modifiers are tags used to modify the content of a field. There are four modifiers: {COUNTER}, {REPLACE}, {CASE} and {RESET}.

## Tag {COUNTER}

The {COUNTER} tag is a counter that allows you to add an increasing number to the selection and define the number at which the counter should start. If, for example, you wish to rename several files as follows: Title 1, Title 2, Title 3, etc., then you'll need to fill in the "Title" field as follows:

Title {COUNTER:1}

## Tag {REPLACE}

This tag allows you to replace one part of the text with another. For example, if you want to change a year (2015 => 2016), simply write this (and nothing else):

{REPLACE:2015:2016}

This tag acts in the same way as variables: it takes over the contents of the field, but applies a modification to it. Note that it is possible to replace with nothing, to delete text. Simply write something like this:

{REPLACE:text to delete:}

As this tag uses three special characters {:}, it is possible to use another syntax to search for one of these characters:

[REPLACE#{1:2}#{2:4}]

This tag will replace the text {1:2} with {2:4}. But in this case, it's the [#] characters that can't be replaced.

## Tag {CASE}

This tag uses the same logic as the previous one, taking the content of a field and applying a modification to it, in this case a change of case. There are 4 variants:

{CASE:LOWER} : Converts all text to lower case.

{CASE:UPPER} : Converts all text to upper case.

{CASE:UCFIRST} : Capitalize the first character.

{CASE:UCWORDS} : Capitalize the first character of each word.

## Tag {RESET}

This tag can only be used for the "Title" and "URL" fields, and resets the title and URL of a file or category from its file or directory name.