Setting up blog post for this week
This commit is contained in:
parent
3a17c00bf6
commit
d5bd747b2e
7 changed files with 117 additions and 6 deletions
7
convert-images.sh
Executable file
7
convert-images.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
find content -type f \( -iname "*.heic" -o -iname "*.heif" \) | while read -r file; do
|
||||
output="${file%.*}.jpg"
|
||||
magick "$file" -quality 85 "$output"
|
||||
echo "Converted $file to $output"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue