Browse Source

added an id randomizer for configs

master
Yann Esposito 7 years ago
parent
commit
4d6ec44891
  1. 3
      randomize-ids.sh

3
randomize-ids.sh

@ -0,0 +1,3 @@
#!/usr/bin/env bash
perl -pi.bak -e 's/"id": "[^"]*"/"\"id\": \"". (join "", map { ("a" .. "f", 0 .. 9)[rand(16)] } 1 .. 40) . "\""/eg' $@
Loading…
Cancel
Save