A script to open a GIMP 2.9 XCF file and export a png

Hmm, well, I’ve made some progress. Now the script will open and export “blah.xcf” as “blah.xcf.png”. :slight_smile: But if run again it will also open and export “blah.xcf.png” as “blah.xcf.xcf.png”. :frowning: The problem is obvious (“extension=echo "$i" | cut -d'.' -f2”). I’m working on a solution.