added owncloud sync helper function
This commit is contained in:
parent
516a0a7b2d
commit
ffc4b02130
7
.local/bin/tools/polybox_sync
Executable file
7
.local/bin/tools/polybox_sync
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Required if run as a cronjob:
|
||||||
|
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
||||||
|
export PASSWORD_STORE_GPG_OPTS="--homedir=$HOME/.local/share/gnupg"
|
||||||
|
export PASSWORD_STORE_DIR="$HOME/.local/share/password-store"
|
||||||
|
|
||||||
|
ping 1.1.1.1 -c 1 && owncloudcmd -s -u abocken -p "$(pass ETH/nETHz\ -\ abocken@ethz.ch)" $HOME/eth/polybox https://polybox.ethz.ch
|
Loading…
Reference in New Issue
Block a user