Files
FlexSurvey/server/extractPic.sh
2017-02-07 20:04:47 +00:00

8 lines
184 B
Bash

#!/bin/bash
# Param1 -> name of the JSON-tag
# Param2 -> name of the input file
# Param3 -> name of the output file
grep "\"$1\":" "$2" | awk -F '"' '{ print $4; }' | base64 -d > $3