Well... I ended up using a bash script to do the same thing. It's not pretty, and there are probably some differences, but it works ok : https://gist.github.com/Ikalou/d7df51d1de05e4ccbaee08e79c52dea0.
Well... I ended up using a bash script to do the same thing. It's not pretty, and there are probably some differences, but it works ok : https://gist.github.com/Ikalou/d7df51d1de05e4ccbaee08e79c52dea0.