↑↓ to navigate ↵ to open Esc to close Search by Algolia

You are reading the documentation of FileRun 2026.4.0, which is not released yet. It is subject to change, so do not use it for planning. Read this page for FileRun 2026.3.0

Metadata

Metadata is information attached to a file or a folder, such as an author, a description or the date a photo was taken. This page describes how users read and change the metadata of their items, and how administrators set up the fields, the field sets and the file types, and read metadata from existing files.

How metadata is organized

  • A field holds one piece of information, such as Author or Date taken.
  • A field set groups fields under a title, such as Image properties.
  • A file type, such as Documents, Photos, Audio or Videos, decides which field sets an item shows. Each item has one file type, or none.

An item shows the field sets of its file type, and the generic field sets, which every item shows. The administrators decide which fields, field sets and file types exist. See Setting up the metadata.

Tags, ratings and folder colours are metadata too. They have their own page: Organizing files.

Reading the metadata of an item

The details panel

  1. Select one file or one folder.
  2. Open the details panel: click the button with the tooltip View details in the toolbar, or right-click the item and choose Information → View details.

The Details tab shows the field sets of the item that hold values, each with its title. Only the fields that have a value are listed.

  • Point at a field set to show the button with the tooltip Edit metadata. It opens the Metadata window. The button is there only when you can change the metadata.
  • When no field holds a value, the tab shows Metadata with a button with the tooltip Add metadata, which opens the Metadata window.
  • Next to each value, a button with a magnifier searches for the items that have the same value in the same field. See Searching from the details panel.
  • When a photo or a video has GPS coordinates, the tab shows a map under Location. Click the map to open the place in Google Maps. The map is shown only when the superuser has set an API key under Files → Settings → Thumbs and previews → Google Static Maps API in the control panel.

With nothing selected, the details panel shows the metadata of the folder that is open. With several items selected, it shows no field sets.

Metadata columns in the file list

In the list layout, the metadata fields can be shown as columns:

  1. Click the button with the tooltip Options in the toolbar.
  2. Choose Choose details.
  3. Check the fields that you want to see. Each metadata field is listed with the name of its field set, such as Image properties: Date taken.

The header of a column is the name of the field. Point at the header to see the name of the field set.

The list also has the columns Meta Type, which shows the file type of the item, Tags and Rating. The administrator can make a field show as a column by default, with Show by default as column in file grid. See Field options.

Changing the metadata

The Metadata window

Right-click a file or a folder and choose Information → Metadata. The Metadata window opens, with the name of the item in its title. To open it in a new browser tab instead, click the arrow next to Metadata, with the tooltip In a new browser tab.

You can also open the window from the details panel, with the buttons Edit metadata and Add metadata.

The window shows:

  • File Type, the file type of the item
  • the field sets of the item, in the alphabetical order of their names: the generic field sets, and the field sets of the file type

To change a value, type it or choose it, then click Save. To remove a value, empty the field and click Save.

When the values are saved, the window closes, and FileRun shows how many fields changed, for example "Changes made to one field for "photo.jpg".". A change of File Type alone is also saved. When neither a value nor the file type changed, FileRun shows "Failed to set metadata for", the name of the item, and "No value was changed!", and the window stays open.

The Save button is shown only when you can change the metadata. See Who can read and change the metadata.

The file type

File Type lists the file types that you can use:

  • - No Special Type - means that the item has no file type. The item then shows only the generic field sets.
  • When you choose another file type, the window loads again, with the field sets of that type. The values that you typed and did not save are lost, so choose the file type first.
  • The new file type is saved when you click Save.
  • - File Type Not Found - means that the file type of the item was deleted, or is not one of the file types that you can use.

FileRun gives a file type to a new file by itself. See File types.

The kinds of fields

Each field has a type, which decides how you fill it in:

Field type What you see in the window
Small text a short text box
Normal text a text box
Large text a box for several lines of text, which grows as you type
Single value a list from which you choose one value. Choose the empty entry to clear it
Multiple values a box that holds several values, or a checkbox for each value of its list
Date a date, with a calendar
Date and time a date and a time
Rating 1-5 a rating from 1 to 5

A Multiple values field with a list of values also shows, checked, a value of the item that is not in the list.

A field with the option Enable autocomplete suggests values as you type. The suggestions are the values that the field already holds on other files. A Single value field with this option has no list: you can type any text. See Field options.

Several items at once

  1. Select several files or folders.
  2. Right-click them and choose Information → Metadata.

The window says "You are editing metadata for", followed by the number of items. The fields are empty and locked, and they do not show the values of the items.

  1. Click the lock button next to a field, with the tooltip Unlock field, to unlock it.
  2. Type the value that all the items must have.
  3. Click Save.
  • A locked field is not changed.
  • An unlocked field with a value gives that value to every item.
  • An unlocked field left empty removes the values of that field from every item.
  • File Type has no lock. It shows the file type of the first item. The file types of the items change only when you choose a type in File Type. Then every selected item gets that type when you click Save.
  • When an item cannot be saved, FileRun shows the reason, and saves the other items.

Who can read and change the metadata

To read the metadata, you need the permission User can access tags, ratings and other metadata. To change it, you also need User can change tags, ratings and other metadata. See Tags, ratings and other metadata. Without the first permission, the right-click menu has no Metadata entry, and the details panel shows no metadata.

The metadata belongs to the item, not to the user. Everyone who can open the item sees the same values. The metadata stays with the item when the item is renamed or moved, and when it is moved to the trash and restored.

These cases also limit what you can do:

  • A folder that another user shared with you, or a shared drive. The role of the share must be Commenter or a higher role. With the role Viewer or Uploader, you cannot read the metadata. The owner of the item must also have the permissions above. See Permissions and shared files.
  • A web link. The role of the link must be Commenter or Editor. The permissions of the visitor account also apply. See The visitor account. The administrator can hide a field from the items opened through a web link, with Prevent field from being shared via web links. See Field options.
  • A locked file. While another user holds the lock of a file, you can read its metadata, but you cannot change it. The Metadata window opens without the Save button.
  • The trash. The metadata of an item in the trash cannot be changed.

Searching by metadata

The search panel can find the items by the value of a field, and by their file type. See Searching by metadata and Searching by file type.

Metadata read from the files

FileRun reads metadata from the files themselves:

  1. When a file is uploaded or created through FileRun, FileRun gives it a file type, from its extension.
  2. Shortly after, FileRun reads the metadata of the file into the fields of the field sets of that type. A scheduled task does this, everyMinute.php, which the administrator must set up. See Scheduled tasks.
  3. When the file changes, FileRun reads its metadata again.

FileRun fills only the fields that are empty. A value that a field already holds is kept, whether a user typed it or FileRun read it.

With the field sets that come with FileRun, these values are read:

  • Photos: Author, Description, Copyright, Date taken, Width, Height, GPS latitude and GPS longitude, from the Exif, IPTC and XMP information of the image. The keywords of the image become tags, and its XMP rating becomes the rating. For camera raw files, such as CR2, NEF and ARW, FileRun reads the XMP file that has the same name, when there is one. For HEIC and HEIF pictures, FileRun reads only the Exif information, and the width and the height. It reads them only when ImageMagick is enabled with the mode IMagick PHP Extension, and when that ImageMagick can read HEIC. The keywords and the rating are not read from these pictures.
  • Videos: Date taken, Movie title, Width, Height, Codec, GPS latitude and GPS longitude, and the fields of Audio properties.
  • Audio: Artist, Title, Album, Duration and Codec, from the tags of the audio file, such as ID3. The year and the genre become tags, and the rating stored in the file becomes the rating.
  • Documents: nothing. No field set is linked to this file type.

The files that were copied to the storage outside FileRun are not given a file type, and their metadata is not read, until an administrator indexes them. See Indexing metadata from files.

Setting up the metadata

This part is for the administrators. The metadata is set up in the control panel, under Files → Metadata, which has File types and Field sets. These administrators can open it:

The Metadata window shows the changes at once. The columns of the file list and the fields of the search panel show them the next time the user opens or reloads the file manager.

File types

File types lists the file types, with the columns Name, Field sets (the number of field sets linked to the type), File count (the number of items of that type), Description and ID. When some file types were created by independent administrators, the superuser also sees Created by.

FileRun comes with four file types: Documents, Photos, Audio and Videos. They cannot be deleted: FileRun refuses with "You cannot delete this file type.".

The names of these four file types cannot be changed either, because FileRun finds them by their names, for example for the media libraries. Their File type name is read-only, and FileRun refuses a new name with "You cannot rename this file type.". To show the users another name, translate the name in the section Metadata/Custom. See Translating FileRun.

To add a file type:

  1. Click Add new. The tab Add metadata file type opens.
  2. Type the File type name. It is required.
  3. Optional: type a Description.
  4. In Field sets, check the field sets that the items of this type show.
  5. In File extensions, list the extensions of the files that get this type, such as pdf.
  6. In File types, list the kinds of files that get this type. FileRun knows the kind of a file from its extension. The file types that come with FileRun use these kinds: office and ooffice for Documents, img and raw for Photos, mp3 and audio for Audio, and wvideo and video for Videos.
  7. Click Add file type.

To change a file type, double-click it, or select it and click Edit. Click Save changes to save, or Delete file type to delete it.

How FileRun gives a file type to a file:

  • It looks at the file types in the alphabetical order of their names. The first file type whose File extensions hold the extension of the file, or whose File types hold the kind of the file, is given to the file.
  • It does this when the file is uploaded or created through FileRun, and when the metadata of a folder is indexed.
  • It uses only the file types that the owner of the file can use. A file type of an independent administrator is given only to the files of that administrator and of the administrator's accounts. See Independent administrators.
  • It gives a file type only to a file that has none. A file that has metadata but no file type, for example a file that was tagged before its folder was indexed, gets one. Changing the extensions of a file type does not change the files that already have a type. A user can change the type of a file in the Metadata window.
  • When a user chose - No Special Type - in the Metadata window, FileRun keeps that choice, and the indexing does not give the file a type.

When you delete a file type, the Metadata window of its items shows - File Type Not Found -.

Field sets

Field sets lists the field sets, with the columns Name, Fields (the number of fields), Description and ID. When some field sets were created by independent administrators, the superuser also sees Created by.

To add a field set:

  1. Click Add new. The tab Add metadata field set opens.
  2. Type the Field set name. It is required.
  3. Optional: type a Description.
  4. Optional: check Generic field set. See Generic field sets.
  5. Click Add field set.

Fields can be added after the field set is created. Double-click the field set, or select it and click Edit. The Fields part lists its fields, with the buttons Add, Edit and Delete. See Fields.

A field set is shown on an item only when it is generic, or when it is linked to the file type of the item. To link a field set to a file type, check it in the Field sets of the file type.

Delete field set deletes the field set, its fields, and the values that these fields hold on all the items.

Caution

The values of the deleted fields cannot be restored.

Generic field sets

A generic field set is shown on every item, whatever its file type. FileRun comes with one generic field set, Various information, with the fields Author and Description.

The media field sets

FileRun comes with three more field sets:

  • Image properties, linked to Photos
  • Video properties, linked to Videos
  • Audio properties, linked to Audio and to Videos

Their fields read their values from the files. See Metadata read from the files.

These field sets are not listed under Field sets, so they cannot be changed there. The superuser and the regular administrators find them in the Field sets of the file types, and can link them to other file types.

Fields

To add a field, open its field set, and click Add under Fields. The tab Add field opens. Fill in the options, then click Add Field. To change a field, select it and click Edit.

To delete a field, select it, click Delete, and confirm. FileRun deletes the field and the values that it holds on all the items.

Field types

The Field type decides how users fill in the field:

  • Small text, Normal text and Large text: free text.
  • Single value: one value, chosen from the Predefined values.
  • Multiple values: several values. With Predefined values, the users check them. Without, they type them.
  • Date, Date and time: a date, or a date and a time.
  • Rating 1-5: a rating from 1 to 5.

What the users see for each type is described in The kinds of fields.

Field options

  • Field name: required. Two fields of the same field set cannot have the same name. FileRun refuses with "Field name already in use. Please choose another one."
  • Description
  • Show by default as column in file grid: the field is a visible column of the file list, until the user hides it with Choose details.
  • Prevent field from being shared via web links: the items opened through a web link do not show the field. It is not in the details panel, in the Metadata window, in the columns of the file list, nor in the answers of the API. The visitors of the link cannot change it either.
  • Field type: see Field types.
  • Enable autocomplete: offered for Small text and Normal text, and for Single value and Multiple values when they have no Predefined values. In the Metadata window, the field then suggests the values that it already holds on other files, as the user types. The suggestions can include the values that other users wrote. With this option, Predefined values is hidden, and a Single value field takes any text. The suggestions need the permission to access metadata. A guest gets no suggestions, because a guest cannot change metadata, and every suggestion would be a value of another user. The visitors of a web link get no suggestions either.
  • Predefined values: for Single value and Multiple values. Separate the values with commas, for example one, two, three.
  • Automatic source: the information that FileRun reads from the file into the field. See below.
  • Sort: a number from 1 to 9 that sets the place of the field in its field set. The fields with a lower number come first. The fields with an empty Sort come after the others, in the order of their names. Another number is refused with "The sort value can be only from 1 to 9". The Metadata window, the details panel, the list of the fields of the field set and the API use the same order.

The fields that come with FileRun use these values of Automatic source:

  • MWG-> followed by Creator, Description, Copyright, DateCreated, width, height, GPSlatitude or GPSlongitude, for images
  • video-> followed by title, width, height, codec, DateCreated, GPSLatitude or GPSLongitude, for videos
  • audio-> followed by artist, title, album, codec or playtime, for audio files

FileRun fills a field from its Automatic source only when the field set of the field is linked to the file type of the file. A field of a generic field set is not filled, unless its field set is also linked to the file type.

To see what FileRun reads from a file, open the control panel of the file and choose Troubleshoot → Metadata extraction. It lists the file type, the fields that have an Automatic source, and the values that FileRun finds in the file. It does not save these values, but it gives the file a file type when the file has none. See The control panel of a file or folder.

Independent administrators

The file types and the field sets that an independent administrator creates belong to that administrator:

  • In the control panel, the independent administrator sees and manages only the file types and the field sets that they created. Only these field sets can be linked to their file types.
  • In the file manager, these file types and field sets are available only to the independent administrator and to the accounts that the administrator created.
  • The file types and the field sets that the superuser and the regular administrators create are available to every account.
  • The generic field sets are an exception. The accounts of an independent administrator get only the generic field sets of that administrator in the Metadata window and in the details panel. The other accounts get only the generic field sets of the superuser and of the regular administrators.

See The independent administrator.

Indexing metadata from files

FileRun reads the metadata of the files that are uploaded through FileRun. The files that were copied to the storage in another way, such as over FTP or by another program, have no file type and no metadata until they are indexed. There are two ways to index them.

From the control panel of a folder. The superuser and the regular administrators can do this:

  1. Right-click the folder and choose Information → Control panel.
  2. Choose Maintenance → Index file metadata.
  3. Click Run.

FileRun lists the files of the folder and of all the folders inside it, then indexes them. The page shows the number of files found, the number of files that remain, and "Indexing completed!" at the end.

  • Your own account needs both metadata permissions. See Tags, ratings and other metadata.
  • A folder that another user shared with you, and a shared drive, cannot be indexed this way. FileRun refuses with "You cannot index shared folders!".

From the command line. Use metadata_index.php, for the home folder of one account, or of every account, and metadata_update_file_type.php, for one folder or one file. See Command line tools.

Both ways give a file type to each file that has no metadata, then read the metadata of the file, as described in Metadata read from the files. Only the empty fields are filled.