What'd I do today?

$ gsed -i 's,fill="#fff",fill="#000",; s,path d="M0 0h512v512H0z"/&gt;&lt;path,path,' *
$ for T in *.svg; do echo $T; inkscape --without-gui --export-png "${PWD}/$(basename ${T%.*}).png" -w 512 -h 512 --file "${PWD}/${T}"; done

You?

Thank you @inkscape!