A lightweight script for 2-way directory synchronization using rsync, designed as a DIY Dropbox alternative.
Bitpocket is a command-line tool that provides bidirectional directory synchronization between local machines and remote servers using SSH and rsync. It solves the problem of safely syncing files with deletions in both directions, effectively creating a self-hosted file synchronization service. The project describes itself as a 'DIY Dropbox' alternative for users who want control over their data storage.
Developers and technical users who need reliable file synchronization between multiple machines using existing SSH-accessible servers. Ideal for those who prefer command-line tools and want to avoid proprietary cloud storage subscriptions.
Bitpocket offers a lightweight, transparent alternative to commercial sync services by leveraging familiar Unix tools (rsync/SSH) with proper deletion handling. Users maintain complete control over their data and infrastructure while getting reliable bidirectional sync.
"DIY Dropbox" or "2-way directory (r)sync with proper deletion"
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses rsync for fast transfers and tracks local file creation/removal to correctly handle deletions in both directions, solving the classic rsync deletion problem mentioned in the README.
Works with any SSH-accessible server, turning spare hosting space into personal cloud storage without relying on proprietary services, as highlighted in the project's philosophy.
Automatically creates timestamped backups before overwriting or deleting files, with optional git packing for space efficiency, providing a basic safeguard against data loss.
Includes a dedicated cron mode with log management, making it easy to set up automated synchronization schedules, as detailed in the configuration section.
Requires manual steps like generating passphrase-less SSH keys, configuring exclude files, and setting up cron jobs, which can be barrier for users unfamiliar with command-line tools.
Syncing is not instantaneous; it relies on manual execution or scheduled cron jobs, so changes aren't immediately reflected, unlike cloud services with live updates.
Backups are rudimentary and not integrated with a full version control system; the README admits this is a discussion point, with conflict resolution relying on manual intervention.
bitpocket is an open-source alternative to the following products: