summaryrefslogtreecommitdiff
path: root/dump.sh
blob: 21ae5daeee8b1fac9d7e2fca00736915e61f8a26 (plain)
1
2
3
4
#!/bin/sh

curl -s -X GET "https://sdccd.instructure.com/api/v1/users/self/files" -H "Authorization: Bearer $CANKEY" | tr '}' '\n' | sed -e 's/{//g' -e's/\[//g' -e 's/\]//g' -e 's/^,//g' > dump