diff --git a/update/nc_rsync.sh b/update/nc_rsync.sh new file mode 100644 index 0000000..7986894 --- /dev/null +++ b/update/nc_rsync.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +src_dir='/opt/apps/syncthing/data/common' +dst_dir='/opt/apps/localcr/K_nextcloud/local/nextcloud/data/nextcloud/files/' +rsync --delete-after -avz $src_dir $dst_dir + +docker exec -u www-data nextcloud php /var/www/html/occ files:scan --all + +