Sh Code to Convert Files from JPG to WEPB in bulk from a folder

Firstly Need to Install webp Extension on the linux or operating system #!/bin/bash # Usage: ./jpg-to-webp-folder.sh /path/to/input /path/to/output INPUT_DIR=”{location}” OUTPUT_DIR=”{location}” # Check inputs if [ -z “$INPUT_DIR” ] || [ -z “$OUTPUT_DIR” ]; then     echo “Usage: $0 <input_folder> <output_folder>”     exit 1 fi # Create output folder if it doesn’t exist mkdir… Continue reading Sh Code to Convert Files from JPG to WEPB in bulk from a folder