mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-03-22 12:54:19 +00:00
fix depreciated command
This commit is contained in:
16
assets/ourwork-images/convert-ourwork-images.sh
Normal file → Executable file
16
assets/ourwork-images/convert-ourwork-images.sh
Normal file → Executable file
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p optimised
|
||||
for file in original-jpg-converted/*; do
|
||||
echo $file
|
||||
base_name=$(basename $file)
|
||||
convert ${file} -resize "1000x1000>" -quality 89 optimised/${base_name}
|
||||
done
|
||||
#!/usr/bin/env bash
|
||||
|
||||
mkdir -p optimised
|
||||
for file in original-jpg-converted/*; do
|
||||
echo $file
|
||||
base_name=$(basename $file)
|
||||
magick ${file} -resize "1000x1000>" -quality 89 optimised/${base_name}
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user