a bunch of random changes again
This commit is contained in:
0
scripts/nav/.nav_db
Normal file → Executable file
0
scripts/nav/.nav_db
Normal file → Executable file
0
scripts/nav/db
Normal file → Executable file
0
scripts/nav/db
Normal file → Executable file
0
scripts/nav/lf-raw-mode-shell-pipe/main.py
Normal file → Executable file
0
scripts/nav/lf-raw-mode-shell-pipe/main.py
Normal file → Executable file
0
scripts/nav/lf-raw-mode-shell-pipe/test.py
Normal file → Executable file
0
scripts/nav/lf-raw-mode-shell-pipe/test.py
Normal file → Executable file
0
scripts/nav/main.py
Normal file → Executable file
0
scripts/nav/main.py
Normal file → Executable file
0
scripts/size.py
Normal file → Executable file
0
scripts/size.py
Normal file → Executable file
34
scripts/sync-school.sh
Executable file
34
scripts/sync-school.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
|
||||
filter=--exclude="./Forms"
|
||||
|
||||
# Geschichte
|
||||
#echo "###################### Geschichte ######################"
|
||||
#rclone copy -vv --exclude share-geschichte:Kursmaterialien/Forms share-geschichte:Kursmaterialien ~/work/htl/geschichte/class-materials/ 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/class-materials: /'
|
||||
|
||||
# DE
|
||||
echo "########################## DE ##########################"
|
||||
rclone copy -vv $filter share-de-class-materials: ~/work/htl/de/class-materials/ 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/class-materials: /'
|
||||
|
||||
|
||||
# HWE
|
||||
#echo "########################## HWE #########################"
|
||||
#rclone copy -vv $fliter share-hwe:Freigegebene\ Dokumente/General ~/work/htl/projekt/teams-documents/ 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/teams-documents: /'
|
||||
|
||||
|
||||
#rclone copy -vv $filter share-hwe:Class\ Files/Assignments ~/work/htl/projekt/assignments-teams 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/assignments-teams: /'
|
||||
|
||||
# DIC
|
||||
echo "########################## DIC #########################"
|
||||
rclone copy -vv $filter share-dic-teams-documents:General ~/work/htl/dic/teams-documents 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/teams-documents: /'
|
||||
|
||||
rclone copy -vv $filter share-dic-class-materials: ~/work/htl/dic/class-materials 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/class-materials: /'
|
||||
|
||||
|
||||
# KSN
|
||||
echo "########################## KSN #########################"
|
||||
rclone copy -vv --exclude share-ksn-class-materials:Kursmaterialien/Forms $filter share-ksn-class-materials: ~/work/htl/ksn/class-materials 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/class-materials: /'
|
||||
|
||||
# M
|
||||
echo "########################### M ##########################"
|
||||
rclone copy -vv $filter share-math-teams-documents:General ~/work/htl/math/teams-documents 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/teams-documents: /'
|
||||
rclone copy -vv $filter share-math-class-materials: ~/work/htl/math/class-materials 2>&1 >/dev/null | grep Copied --color=never | awk -F':' '{print $4}' | cut -c 2- | sed 's/^/class-materials: /'
|
||||
@@ -9,7 +9,7 @@ default_vm_uuid=win
|
||||
#default_vm_uuid=6a412143-871f-4838-bacd-5dcfa5fa95c3
|
||||
|
||||
username=me
|
||||
password=$(cat ~/.mysecrets/win-vm-pwd)
|
||||
password=$(cat ~/work/here/secrets/win-vm-pwd)
|
||||
|
||||
if [ "$1" == "-o" ];then
|
||||
cmd=$5
|
||||
|
||||
Reference in New Issue
Block a user