[READ-ONLY] Mirror of https://github.com/mrgnw/scripts.
0

Configure Feed

Select the types of activity you want to include in your feed.

scripts / jpg
278 B 12 lines
1#!/usr/bin/env zsh 2 3if [[ -z "$1" ]]; then 4 echo "Usage: heic_to_jpg <input_file.heic> [output_file.jpg]" 5 return 1 6fi 7 8local input_file="$1" 9local output_file="${2:-${input_file%.*}.jpg}" 10 11sips -s format jpeg "$input_file" --out "$output_file" 12echo "Converted to $output_file"