gtc-rename/rename-subs/photos
2022-07-17 15:07:57 +02:00

6 lines
89 B
Plaintext

s/\.jpeg$/\.jpg/i;
s/\.JPG$/\.jpg/i;
if (-f "$d/$_") {
$_="$_.jpg" unless (/\....$/);
}