logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tina-convert — convert Tina database files from one format to another

Authors

       The  tina-convert  tool,  along  with  its  documentation, is developed as part of the tina tool by Peter
       Pentchev ⟨roam@ringlet.net⟩.

Debian                                          December 22, 2024                                TINA-CONVERT(1)

Description

       The  tina-convert  tool  is  used  to  read a tree of tina database items and represent it in a different
       format.  It currently supports three formats passed via the -I and/or -O command-line options:

       tina    The native tina database format.

       json    A hierarchical structure represented as a JSON object.

       yaml    A hierarchical structure represented as a YAML object.

Examples

       Read the tina database, represent it as JSON:

             tina-convertconvert-Ojson~/.tina

       Do the same and save the result as a file:

             tina-convertconvert-Ojson-otina.json~/.tina

       Read that file and convert it back to the native format, needlessly specifying the  output  format  since
       tina is the default for both input and output:

             tina-convertconvert-Ijson-Otinatina.json

Exit Status

       The tina-convert utility exits 0 on success, and >0 if an error occurs.

Files

       If the source filename is specified as “-”, tina-convert will read  the  data  from  its  standard  input
       stream.   If  a target filename is not specified via the -o command-line option, or if it is specified as
       “-”, tina-convert will write the converted entries to its standard output stream.

Name

       tina-convert — convert Tina database files from one format to another

Synopsis

tina-convert [-d | --debug] [-v | --verbose] convert [-Iinfmt] [-Ooutfmt] [-otarget] sourcetina-convert [-d | --debug] [-v | --verbose] listformatstina-convert [-h | --help] [-V | --version]

See Also