TMU (Too Many Updates)
This commit is contained in:
parent
392dfed89a
commit
789f26d925
12 changed files with 147 additions and 76 deletions
|
@ -129,7 +129,7 @@ do
|
|||
replace "$prog" "$image"
|
||||
|
||||
|
||||
done <<< "$(find "$dir" -type f -iregex ".+.jpe?g$")"
|
||||
done <<< "$(find "$dir/" -type f -iregex ".+.jpe?g$")"
|
||||
|
||||
# PNG (requires optipng)
|
||||
while read image
|
||||
|
@ -144,7 +144,7 @@ do
|
|||
|
||||
replace "$temp" "$image"
|
||||
|
||||
done <<< "$(find "$dir" -type f -iname "*.png")"
|
||||
done <<< "$(find "$dir/" -type f -iname "*.png")"
|
||||
|
||||
# # SVG (requires scour)
|
||||
# while read image
|
||||
|
@ -158,7 +158,7 @@ done <<< "$(find "$dir" -type f -iname "*.png")"
|
|||
#
|
||||
# replaceImg "$temp" "$image"
|
||||
#
|
||||
# done <<< "$(find "$dir" -type f -iname "*.svg")"
|
||||
# done <<< "$(find "$dir/" -type f -iname "*.svg")"
|
||||
|
||||
# NOTE Explicitely disabled since:
|
||||
# - I only have ~50 MiB of SVG in TOTAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue