@ericperonnin thanks a lot for the videos, I've just started with KiCad (with PCB design generally speaking) and starting from your tutorial has been an excellent way to get up to speed in a short time!
@hek it's a python script that can be runned standalone from the terminal. By the way it's the only way I could make it work on my system. Apparently some linux versions of KiCad 5 are build without scripting support, so it crashes with segfault when this script is present in kicad's plugin folder. But as a command line script it needs only *.kicad_pcb file as an argument to work.