for file in /home/red/Scripts/2/* do dwebp "$file" -o "$file.png" done