Sync
Synchronize files and directories between local, remote, and cloud storage reliably.
Why use this skill?
Master file synchronization with the OpenClaw Sync skill. Easily mirror data across local, remote, and cloud storage using rsync and rclone with full verification.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/syncWhat This Skill Does
The Sync skill is an enterprise-grade utility designed for the OpenClaw AI agent to manage, mirror, and synchronize files across diverse environments. Whether you are dealing with local directories, remote servers over SSH, or cloud storage providers like S3, this skill provides a structured framework for data integrity. It leverages industry-standard tools like rsync for filesystem operations and rclone for cloud integrations, ensuring that transfers are robust, version-aware, and verifiable. It handles complex tasks such as differential transfers, exclusion management via ignore files, and checksum verification.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/ivangdavila/sync
Ensure that your environment has rsync and rclone installed and available in the system PATH before executing the command to avoid dependency errors.
Use Cases
- Deployment Automation: Seamlessly push build artifacts from a local machine to a remote web server using secure, key-based SSH authentication.
- Cloud Backup: Automatically back up sensitive project directories to S3, Google Cloud Storage, or B2 using
rclonewith specific chunk sizing for large files. - Data Consistency: Use
rsyncwith the--checksumflag to verify that two directories are identical, preventing issues caused by clock skew or timestamp mismatches. - Clean Development Environments: Utilize custom
.syncignorefiles to mirror source code while excluding transient artifacts like.gitornode_modules.
Example Prompts
- "Sync the local folder './src' to the remote server 'web-prod' at /var/www/html/ using key '~/.ssh/deploy_key', ensuring we mirror the source exactly and exclude any git metadata."
- "Perform a dry-run backup of my local project to the S3 bucket named 'my-project-backups' and provide a progress bar during the operation."
- "Verify the integrity of my remote backup folder against the local copy using checksums and output the results to a file named sync-verify.log."
Tips & Limitations
- Trailing Slashes: Always remember that
src/copies the contents, whilesrccopies the directory itself. This is critical for preventing incorrect nesting. - Bidirectional Challenges:
rsyncis strictly one-way. For bidirectional synchronization (e.g., syncing between two workstations), look intounisonor dedicated synchronization software like Syncthing rather than forcing a script-based solution. - Permissions: Always test commands with
--dry-runto visualize changes before they occur. Be wary of using--deletein production environments without rigorous testing, as it permanently removes files on the destination that do not exist in the source.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-sync": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, network-access
Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.