Suppresion de vieux scripts
This commit is contained in:
parent
c8b6869e7d
commit
0ba4a51645
13
dither.sh
13
dither.sh
@ -1,13 +0,0 @@
|
|||||||
# Dither images present in the blog, moving the existing images to filename_original.jpg
|
|
||||||
|
|
||||||
## Travel down the directory content/
|
|
||||||
|
|
||||||
find content/ \ # Find from the content directory
|
|
||||||
-maxdepth 4 \ # Maximu depth of 4 dirs
|
|
||||||
-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
|
|
||||||
; # Finish
|
|
@ -1 +0,0 @@
|
|||||||
./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
|
|
Loading…
Reference in New Issue
Block a user