Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Latest commit

 

History

History
103 lines (78 loc) · 3.33 KB

cmd-line-tools.rst

File metadata and controls

103 lines (78 loc) · 3.33 KB

Usefull Comand Line Tools

luis@spinoza ~/lpod $ lpod-show.py -h
Usage: lpod-show.py <file>

Dump text from an OpenDocument file to the standard output, optionally styles
and meta.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -d DIRNAME, --dirname=DIRNAME
                        dump output in files in the given directory.
  -m, --meta            dump metadata (if -d DIR add DIR/meta.txt)
  -s, --styles          dump styles (if -d DIR add DIR/styles.txt)
luis@spinoza ~/lpod $ lpod-style.py -h
Usage: lpod-style.py <file>

A command line interface to manipulate styles of OpenDocument files.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -a, --automatic       show automatic styles only
  -c, --common          show common styles only
  -p, --properties      show properties of styles
  -d, --delete          delete all styles (except default)
  -m FILE, --merge-styles-from=FILE
                        copy styles from FILE to <file>. Any style with the
                        same name will be replaced.
luis@spinoza ~/lpod $ lpod-meta.py -h
Usage: lpod-meta.py [options] <file>

Dump metadata informations on the standard output

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -s NAME=VALUE, --set=NAME=VALUE
                        Replace and/or set the metadata NAME with the value
                        VALUE
luis@spinoza ~/lpod $ lpod-merge.py -h
Usage: lpod-merge.py <file1> [<file2> ...]

Merge all input files in an unique OpenDocument file

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -o FILE, --output=FILE
                        Place output in file FILE (out.od[t|s|p] by default)