Skip to content

Commit 0c6e5db

Browse files
author
Benoit Girard
committed
Improve the download script to also beautify
1 parent e24ca68 commit 0c6e5db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

download_profile.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/bin/bash
2-
wget http://profile-store.commondatastorage.googleapis.com/$1
2+
wget http://profile-store.commondatastorage.googleapis.com/$1 -O /tmp/downloadedProfile.json
3+
echo "Pretty printing to: $1"
4+
cat /tmp/downloadedProfile.json | python -mjson.tool > $1

0 commit comments

Comments
 (0)