Skip to content
This repository has been archived by the owner on Oct 30, 2021. It is now read-only.

Latest commit

 

History

History
48 lines (39 loc) · 1.59 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.59 KB

files-testing

Clean all files from the selected folder and check that all of them are cleaned correctly.

Dependencies

  • Linux
  • imagemagic (we need 'compare')
  • prebuild 'svgcleaner' itself, release build
  • prebuild 'tools/svgrender'
  • prebuild 'tools/err_view'

Usage

stats \
      # path to folder where all temp files will be generated
      --workdir=/var/svg/svg/ \
      --input-data=/path_to_dir_with_svg_files \
      # (optional) path to config that contains list of ignored files
      # see ./data for examples
      --input-data-config=config.json \
      # each input-data must have own db
      --cache-db=/path_to_cache_file/stats.sqlite

Files for testing

Convert svgz to svg

Useful for 'Oxygen icon theme'.

find . -name "*.svgz" | while read filename; do 7za e -so "$filename" > "${filename%.svgz}.svg"; done;
find . -name "*.svgz" -type f -delete