Goals
-----

This section exists to organize the ``svg'' functionality of centos-art.sh script.

Description
-----------

The ``svg'' functionality of centos-art.sh script helps you to maintain scalable vector graphics (SVG) inside repository. For example, suppose you've been working in a set of (let's say 30) SVG files, and you want to set common metadata to all of them. Doing so file by file is a tedious task, so the centos-art.sh script provides the ``svg'' functionality to aid you maintain such actions.

Most ``svg'' actions take one opening tag (e.g., <metadata), and one closing tag (e.g., </metadata) and replace everything in-between with the information you define. The information you need to define is inside template files as sed's replacement commands. Template files are stored under trunk/Scripts/Bash/Functions/Svg/Tpl/ directory and can contain translation markers.

Translation markers have the form =SOMETEXT=. Translation markers are used by ``svg'' functionalities to introduce dynamic information (e.g., dates, keywords based on path, etc.)

Usage
-----

centos-art svg --update-metadata='path/to/dir'
     Use this command to update metadata information to all .svg files under path/to/dir as defined in the metadata template file.

centos-art svg --update-metadata='path/to/dir' --filter='filename'
     Use this command to update metadata information to path/to/dir/filename, as defined in the metadata template file.

See also
--------