If you want to bulk convert .xcf images to .png, you might find this wrapper script more useful:
#! /bin/bash -peux
exec xcf2png $1 -o ${1%.xcf}.png
Save it somewhere on your PATH as xcftopng
(note the to
instead of 2
) and call it like so:
ls *.xcf|xargs -l xcftopng