← 返回
未分类 Key 中文

Owncloud Sync

Verify new Google Drive files against OwnCloud, then email a report listing files that are missing or outdated on OwnCloud for manual sync decisions.
验证新 Google Drive 文件与 OwnCloud,邮件报告缺失或过时文件,供手动同步决策。
mikoboulot mikoboulot 来源
未分类 clawhub v1.0.7 1 版本 100000 Key: 需要
★ 0
Stars
📥 232
下载
💾 0
安装
1
版本
#latest

概述

owncloud-sync

Purpose

This skill tracks files created or imported into Google Drive over a specified period (e.g., last 30 days), verifies their presence on the OwnCloud server, and generates a daily report emailed to the user. The report lists new Google Drive files and flags any missing or outdated files on OwnCloud, helping the user decide which files to copy.

Rationale

Google Drive serves as a convenient workspace to drop and edit files. This skill helps decide whether to push files to OwnCloud or to delete/retain them on Google Drive.

Prerequisites on OwnCloud Server

  • OwnCloud lacks a satisfactory built-in file search service, so an indexing service is required.
  • A Go program (allfiles-service.go) is provided at https://github.com/MikoBoulot/openclaw-skills.
  • Compile the Go program with:

```

go build -ldflags=-s -w -o /usr/local/bin/allfiles-service allfiles-service.go

```

  • Configure credentials (BASIC_USER, BASIC_PASS) in the service definition to match the ALLFILES_USER and ALLFILES_PASS in the skill.
  • Install and enable the provided systemd service allfiles.service.
  • Place valid certificates (default location: /etc/allfiles/certs/).

Operating Mode

  • The script owncloud-sync.sh is located in .openclaw/workspace/skills/owncloud-sync/.
  • Run the script manually or on demand; it requires Zsh.

Configuration

  • The variables ALLFILES_URL, ALLFILES_USER, and ALLFILES_PASS in owncloud.json specify the OwnCloud indexing service credentials.
  • GOG_ACCOUNT (Google Drive account) and EMAIL_RECIPIENT (report recipient) are set within the script.
  • PERIOD_DAYS defines the date range for querying Google Drive, also set in the script.

Report

  • All files created or imported during the specified period are checked on OwnCloud.
  • The report indicates each files status: OK, MISSING, or NEED UPDATE (if OwnClouds version is older than Google Drives).

版本历史

共 1 个版本

  • v1.0.7 当前
    2026-05-20 05:40 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 282 📥 117,309
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 470 📥 156,819
office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 936 📥 187,599