Last active
October 7, 2019 19:12
-
-
Save ruslangrimov/453f8beec7b0c2c346a454e126880113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in $(find ../../files/ -name '*.pkl') | |
do | |
name=${file##*/} | |
name=${name%.*} | |
name=${name/"_xxxx"/"_zzzzz"} | |
folder=$(dirname ${file}) | |
python -u pkl_to_json.py -i "${file}" -o "${folder}/${name}.json" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment