-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathclean_svg
executable file
·46 lines (32 loc) · 1.77 KB
/
clean_svg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#! /bin/sh
# Code to take fixed svg file images, and minify them for inclusion on the web
# pages. The sources are raw/«name».svg or raw/«name»-fix.svg, and the
# corresponding output is img/«name».svg
svgo -i raw/CIRC01_bb-fix.svg -o img/CIRC01_bb.svg
svgo -i raw/CIRC01_schem-fix.svg -o img/CIRC01_schem.svg
svgo -i raw/CIRC02_bb-fix.svg -o img/CIRC02_bb.svg
svgo -i raw/CIRC02_schem-fix.svg -o img/CIRC02_schem.svg
svgo -i raw/CIRC03_bb-fix.svg -o img/CIRC03_bb.svg
svgo -i raw/CIRC03_schem-fix.svg -o img/CIRC03_schem.svg
svgo -i raw/CIRC04_bb.svg -o img/CIRC04_bb.svg
svgo -i raw/CIRC04_schem-fix.svg -o img/CIRC04_schem.svg
svgo -i raw/CIRC05_bb-fix.svg -o img/CIRC05_bb.svg
svgo -i raw/CIRC05_schem-fix.svg -o img/CIRC05_schem.svg
svgo -i raw/CIRC06_bb.svg -o img/CIRC06_bb.svg
svgo -i raw/CIRC06_schem-fix.svg -o img/CIRC06_schem.svg
svgo -i raw/CIRC07_bb-fix.svg -o img/CIRC07_bb.svg
svgo -i raw/CIRC07_schem-fix.svg -o img/CIRC07_schem.svg
svgo -i raw/CIRC08_bb-fix.svg -o img/CIRC08_bb.svg
svgo -i raw/CIRC08_schem-fix.svg -o img/CIRC08_schem.svg
svgo -i raw/CIRC09_bb-fix.svg -o img/CIRC09_bb.svg
svgo -i raw/CIRC09_schem-fix.svg -o img/CIRC09_schem.svg
svgo -i raw/CIRC10_bb-fix.svg -o img/CIRC10_bb.svg
svgo -i raw/CIRC10_schem-fix.svg -o img/CIRC10_schem.svg
svgo -i raw/CIRC11_bb.svg -o img/CIRC11_bb.svg
svgo -i raw/CIRC11_schem-fix.svg -o img/CIRC11_schem.svg
svgo -i raw/CIRC11h_schem-fix.svg -o img/CIRC11h_schem.svg
svgo -i raw/CIRC12_bb-fix.svg -o img/CIRC12_bb.svg
svgo -i raw/CIRC12_schem.svg -o img/CIRC12c_schem.svg
svgo -i raw/CIRC12a_schem.svg -o img/CIRC12a_schem.svg
svgo -i raw/CIRC15_bb.svg -o img/CIRC15_bb.svg
svgo -i raw/CIRC15_schem.svg -o img/CIRC15_schem.svg