From c11b26e1f75b643997787b76f5181731058a28f9 Mon Sep 17 00:00:00 2001 From: kaa Date: Sun, 19 Nov 2023 00:56:10 -0800 Subject: Basis for directory listing and file download. --- dump.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 dump.sh (limited to 'dump.sh') diff --git a/dump.sh b/dump.sh new file mode 100755 index 0000000..21ae5da --- /dev/null +++ b/dump.sh @@ -0,0 +1,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 + -- cgit v1.2.3