Exporting FFT result like GIMP plugin

If you want to call the exact procedure that is done by the plug-in, then try this :

$ gmic image.jpg -gimp_fourier 0,1

for the FFT, and :

$ gmic imageFFT.jpg -gimp_fourier 1,1 

for the invert transform.