init
This commit is contained in:
18
download.sh
Normal file
18
download.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
/usr/bin/python3 /home/andre/Dokumente/git/garmin-connect-export/gcexport.py \
|
||||
--username andregeissler@posteo.de \
|
||||
--password f7m8g36Ph4gDCy4 \
|
||||
-c 3 \
|
||||
-f json \
|
||||
-d /home/andre/Dokumente/codeberg/bike-part-tracker/input/
|
||||
|
||||
cd /home/andre/Dokumente/codeberg/bike-part-tracker/input/
|
||||
|
||||
for I in `ls activity_*_summary.json`
|
||||
do
|
||||
echo $I
|
||||
zip $I.zip $I
|
||||
done
|
||||
|
||||
#shopt -s extglob
|
||||
#$(rm -v !(*.zip))
|
||||
find /home/andre/Dokumente/codeberg/bike-part-tracker/input/ -type f -not -name '*.zip' -delete
|
||||
Reference in New Issue
Block a user