riemann-dash/randomize-ids.sh
Yann Esposito (Yogsototh) 6ab562403c
added screenshot
2016-06-23 17:36:31 +02:00

3 lines
140 B
Bash
Executable file

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