dirsync
Advanced directory tree synchronisation tool
Decision gist · record as of 2026-08-14
Yes. dirsync is a lightweight, actively maintained tool with no dependencies, permissive licensing, and a simple API suitable for directory synchronization tasks. Install it if you need reliable sync, diff, or mirror operations in scripts or applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Active maintenance as of 2026-03-23 with a recent release in 2025-05-24.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.
last release 2025-05-24 (447 days) · last repo commit 2026-03-23 · 97 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 196,436 downloads/mo, #9,786 on PyPI
Alternatives
Verify before relying
pip install dirsync
from dirsync import sync
sync('/source/path', '/target/path', 'sync', purge=True)- Whether Python 2 support is still actively maintained or tested given the classifier presence
- Performance characteristics with very large directory trees or slow filesystems
What it is and what it does
dirsync is a command-line and Python library tool for synchronizing directory trees. It can report differences between directories, one-way sync from source to target, or bidirectional updates. The tool supports filtering via regex patterns to include or exclude specific files and directories, and offers options like purging removed files, forcing permission changes, and comparing by content alone or by timestamps.
It runs with zero runtime dependencies and works across operating systems. You can use it from the command line with configuration files for repeated tasks, or call it directly from Python code with a simple API. The package is stable (Production/Stable status) and actively maintained, making it suitable for backup automation, mirror operations, or build system workflows.
Use it for
- Automate daily backups by syncing a project directory to an external drive with purge enabled
- Mirror a source repository to a target location, updating only changed files to save bandwidth
- Implement a two-way sync between a local working directory and a network share
- Filter and sync only specific file types (e.g., source code, excluding build artifacts) using regex patterns
- Generate a diff report before applying changes to detect what would be added, removed, or modified
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
dirsync is a lightweight, actively maintained tool with no dependencies, permissive licensing, and a simple API suitable for directory synchronization tasks. Install it if you need reliable sync, diff, or mirror operations in scripts or applications.
Install
dirsync on PyPI
Before you install
Low install friction with no runtime dependencies. Active maintenance as of 2026-03-23 with a recent release in 2025-05-24.
License in practice
MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.
Quickstart
pip install dirsync
from dirsync import sync
sync('/source/path', '/target/path', 'sync', purge=True)
Verify before relying
- Whether Python 2 support is still actively maintained or tested given the classifier presence
- Performance characteristics with very large directory trees or slow filesystems
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 447 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 196,436 / month, #9,786 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Desktop EnvironmentTopic :: System :: Archiving :: BackupTopic :: System :: Archiving :: MirroringTopic :: Utilities |
Evidence: dirsync-2.2.6-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “folder sync tool”
- dirsyncSynchronizes, updates, or reports differences between two directory…
- egnyteOfficial Python client library for Egnyte's Public APIs, providing…
- vdirsyncerVdirsyncer is a command-line tool that synchronizes calendars and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also vdirsyncer · deepdiff6 · sysrsync · dirsql · dep-sync · pathspec · py-walk · diff-cover · xmldiff · aiosyncthing