OnWorks favicon

git-annex-metadata - Online in the Cloud

Run git-annex-metadata in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-annex-metadata that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



git-annex-metadata - sets or gets metadata of a file


git annex metadata [path ...]


The content of an annexed file can have any number of metadata fields attached to it to
describe it. Each metadata field can in turn have any number of values.

This command can be used to set metadata, or show the currently set metadata.

When run without any -s or -t parameters, displays the current metadata.


-g field

Get the value(s) of a single field.

The values will be output one per line, with no other output, so this is suitable
for use in a script.

-s field=value
Set a field's value, removing any old values.

-s field+=value
Add an additional value, preserving any old values.

-s field-=value
Remove a value.

-s field?=value
Set a value, but only if the field does not already have a value set.

-t tag Set a tag. Note that a tag is just a value of the "tag" field.

-u tag Unset a tag.

By default, git annex metadata refuses to recursively set metadata throughout the
files in a directory. This option enables such recursive setting.

file matching options
The git-annex-matching-options(1) can be used to specify files to act on.

--json Enable JSON output. This is intended to be parsed by programs that use git-annex.
Each line of output is a JSON object.

--all Specify instead of a file to get/set metadata on all known keys.

Specify instead of a file to get/set metadata on files found by last run of git-
annex unused.

Specify instead of a file to get/set metadata of the specified key.


To set some tags on a file and also its author:

git annex metadata annexscreencast.ogv -t video -t screencast -s author+=Alice

Use git-annex-metadata online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    This is an application that can also be
    fetched from
    It has been hosted in OnWorks in order
    to be run online in an easi...
    Download jtdx
  • 7
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands