sync notes
This commit is contained in:
@ -209,6 +209,29 @@ enable apple ID:
|
||||
curl https://gist.githubusercontent.com/balazsorban44/09613175e7b37ec03f676dcefb7be5eb/raw/b0d31aa0c7f58e0088fdf59ec30cad1415a3475b/apple-gen-secret.mjs -o apple-gen-secret.mjs
|
||||
|
||||
|
||||
################### sync folders
|
||||
# nc: WebDAV
|
||||
apk add rclone
|
||||
rclone config
|
||||
rclone sync /path/to/local/folder yourRemoteName:target-folder
|
||||
# nc
|
||||
sudo add-apt-repository ppa:nextcloud-devs/client
|
||||
sudo apt update
|
||||
sudo apt install nextcloud-client
|
||||
nextcloudcmd [options] <local directory> <Nextcloud URL>
|
||||
# gdrive
|
||||
sudo apt update
|
||||
sudo apt install rclone
|
||||
rclone config
|
||||
#
|
||||
rclone lsd nextcloud: # {nc=remotename}
|
||||
rclone sync /path/to/local/folder gdrive:target-folder
|
||||
rclone sync /backup nextcloud:/mwitnessing [--dry-run] [--progress]
|
||||
rclone sync /backup nextcloud:/mwitnessing --dry-run --progress
|
||||
crontab -e
|
||||
0 7 * * * /backup nextcloud:/mwitnessing
|
||||
|
||||
|
||||
|
||||
|
||||
Project setup:
|
||||
|
Reference in New Issue
Block a user