1 2 3 4 5 6 7
#!/usr/bin/env wolframscript FileSystemScan[ Export[#,Import[#], IncludeMetaInformation->None]&, DirectoryName[$InputFileName], FileNameForms->"*.jpg"|"*.png"|"*.webp" ]