We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f6f7e commit bbfe081Copy full SHA for bbfe081
gallery-dl_postprocessing_selector.sh
@@ -7,7 +7,7 @@ if [ "$1" = png ]; then
7
elif [ "$1" = jpg ] || [ "$1" = jpeg ]; then
8
jpegoptim -p --strip-com --strip-iptc --strip-icc --strip-xmp "$inputfile" >/dev/null
9
elif [ "$1" = zip ] || [ "$1" = rar ] || [ "$1" = 7z ]; then
10
- 7z x "$inputfile" -o"${inputfile%.*}" || exit 1
+ LC_CTYPE=ja_JP.UTF-8 7z x "$inputfile" -o"${inputfile%.*}" || exit 1
11
rm "$inputfile"
12
find "${inputfile%.*}" -iname "*.png" -exec webpifier.sh {} \;
13
find "${inputfile%.*}" -iname "*.jpg" -exec jpegoptim -p --workers=max --strip-com --strip-iptc --strip-icc --strip-xmp {} +
0 commit comments