script for mounting and syncing magentacloud

This commit is contained in:
marko
2021-03-14 17:33:56 +01:00
parent 8513b21a84
commit 664a0e881e

5
homepage/cloudsync.sh Executable file
View File

@@ -0,0 +1,5 @@
sudo mount -t davfs -o uid=$(id -u marko),gid=$(id -g marko) https://webdav.magentacloud.de ~/mnt/cwsvJudo@magenta/
rsync -av ~/mnt/cwsvJudo@magenta/machs/ machs.cloudMirror/