Blame Manuals/en/Texinfo/Repository/trunk/Scripts/Bash/Functions/Svg.texi

38bcd9
@subsection Goals
38bcd9
38bcd9
This section exists to organize the ``svg'' functionality of
38bcd9
centos-art.sh script.
38bcd9
38bcd9
@subsection Description
38bcd9
38bcd9
The ``svg'' functionality of centos-art.sh script helps you to
38bcd9
maintain scalable vector graphics (SVG) inside repository. For
38bcd9
example, suppose you've been working in a set of (let's say 30) SVG
38bcd9
files, and you want to set common metadata to all of them. Doing so
38bcd9
file by file is a tedious task, so the centos-art.sh script provides
38bcd9
the ``svg'' functionality to aid you maintain such actions.
38bcd9
38bcd9
Most ``svg'' actions take one opening tag (e.g., @samp{
38bcd9
and one closing tag (e.g., @samp{
38bcd9
in-between with the information you define. The information you need
38bcd9
to define is inside template files as sed's replacement commands.
38bcd9
Template files are stored under
38bcd9
@samp{trunk/Scripts/Bash/Functions/Svg/Tpl/} directory and can contain
38bcd9
translation markers.
38bcd9
38bcd9
Translation markers have the form @samp{=SOMETEXT=}. Translation
38bcd9
markers are used by ``svg'' functionalities to introduce dynamic
38bcd9
information (e.g., dates, keywords based on path, etc.)
38bcd9
38bcd9
@subsection Usage
38bcd9
38bcd9
@table @command
38bcd9
@item centos-art svg --update-metadata='path/to/dir'
38bcd9
Use this command to update metadata information to all @samp{.svg}
38bcd9
files under @samp{path/to/dir} as defined in the metadata template
38bcd9
file.
38bcd9
38bcd9
@item centos-art svg --update-metadata='path/to/dir' --filter='filename'
38bcd9
Use this command to update metadata information to
38bcd9
@samp{path/to/dir/filename}, as defined in the metadata template file.
38bcd9
@end table
38bcd9
38bcd9
@subsection See also
38bcd9
38bcd9
@menu
38bcd9
@end menu