Compare commits
2 Commits
8e0e3e130b
...
b51885f0b9
Author | SHA1 | Date |
---|---|---|
nono | b51885f0b9 | |
nono | 20f002d97b |
11
publish.sh
11
publish.sh
|
@ -18,13 +18,12 @@ git submodule foreach git pull origin master
|
|||
## Travel down the directory content/
|
||||
find content/ \ # Find from the content directory
|
||||
-maxdepth 4 \ # Maximum depth of 4 dirs
|
||||
-type f \ # Find only files
|
||||
-type f \ # Find only files
|
||||
-name "*.jpg" \ # Find only JPEG files
|
||||
-exec \ # Execute next lines
|
||||
cp {} {}.original && \ # Copy file and add .original to it's filename
|
||||
convert {} -colorspace GRAY -o ordered-dither o2x2 {}\ # Dither image
|
||||
jpegoptim {} -S 80 -t ; # Optimize the jpeg file
|
||||
|
||||
-exec \ # Execute next lines
|
||||
cp {} {}.original && \ # Copy file and add .original to it's filename
|
||||
convert {} -colorspace GRAY -o ordered-dither o2x2 {} &&\ # Dither image
|
||||
jpegoptim {} -S 80 -t ; # Optimize the jpeg file
|
||||
|
||||
# Generate the openring ( https://git.sr.ht/~sircmpwn/openring )
|
||||
./openring -s https://www.laquadrature.net/feed -s https://mamot.fr/@n07070.rss -s https://solar.lowtechmagazine.com/feeds/all-en.rss.xml < in.html > openring-out.html
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 0e98f074b8674b9a6faf165f6306320f719fd3f1
|
||||
Subproject commit c1c2b078f40c9bf85e61af0e601ad20433d4bd34
|
Loading…
Reference in New Issue