Skip to content
项目

关于

On1 NoSync: Offline Two-Way Folder Sync for Windows with Conflict Detection and Dry-Run Preview

效率与自动化

这些数字如何统计

可以做什么

  • Two-way folder synchronization, reconciles changes in both directions between paired folders, applying additions, updates, and deletions according to the configured conflict policy.
  • Conflict detection and resolution, identifies files modified on both sides between sync passes and surfaces them for manual review or applies a deterministic winner based on timestamp and size comparison.
  • Scheduled sync jobs, defines recurring synchronization tasks per folder pair with configurable intervals, start windows, and per-job enable or disable state.
  • Dry-run preview mode, simulates a full sync pass and reports every planned operation, including additions, overwrites, and deletions, without touching the filesystem.

实测星标增长

24小时
正在收集历史
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

On1 NoSync: Offline Two-Way Folder Synchronization Utility for Windows 10 & 11

🛠️ PowerShell Setup Button

score users runs-on state powershell-7


On1 NoSync is a desktop synchronization utility for Windows 10 and 11 that maintains two-way folder parity across local and mapped volumes without duplicating payloads. It pairs a delta-aware comparison engine with explicit conflict detection, so divergent file versions are surfaced for review rather than silently overwritten. Scheduled sync jobs run through a background service, while a dry-run preview mode renders the projected operation set before any write is committed. The installer bundles the sync core, tray controller, and job scheduler, targeting small office and home file workflows that need deterministic, auditable folder convergence.

🔧 Requirements

  • Windows 10 or Windows 11
  • PowerShell 5.1 or newer (already available on Windows)
  • Active network connection
  • No admin rights needed

Features

  • Two-way folder synchronization, reconciles changes in both directions between paired folders, applying additions, updates, and deletions according to the configured conflict policy.
  • Conflict detection and resolution, identifies files modified on both sides between sync passes and surfaces them for manual review or applies a deterministic winner based on timestamp and size comparison.
  • Scheduled sync jobs, defines recurring synchronization tasks per folder pair with configurable intervals, start windows, and per-job enable or disable state.
  • Dry-run preview mode, simulates a full sync pass and reports every planned operation, including additions, overwrites, and deletions, without touching the filesystem.
  • Operation journaling, records each sync transaction with per-file outcomes so interrupted passes can be reviewed and resumed without re-scanning unchanged trees.
  • Folder pair profiles, stores independent source and destination roots, inclusion and exclusion filters, and conflict policy per job for repeatable small office and home workflows.
  • Selective filtering, excludes files by extension, name pattern, size threshold, or last-modified age to keep sync scope tight on shared volumes.
  • Integrity verification pass, compares file hashes on demand to confirm that paired folders are truly identical beyond timestamp and size metadata.
  • Local-only operation, performs all synchronization directly between mounted volumes with no network service, account, or external endpoint involved.
  • Activity log and export, maintains a rotating diagnostic log of every scan, comparison, and transfer, exportable for audit or troubleshooting.

How It Works

On1 NoSync operates as a self-contained synchronization engine that runs entirely on the local workstation without contacting any remote service. Each sync job is defined by a pair of folder roots and a direction policy, and the engine reconciles the two trees by comparing content hashes combined with file size and last-write timestamps. Because the comparison layer is content-aware rather than timestamp-only, moved or renamed files are recognized as identical payloads and re-linked instead of being duplicated across the pair.

The engine executes every job in distinct phases. A scan phase enumerates both roots and builds an in-memory index of relative paths, sizes, timestamps and rolling hashes. A comparison phase classifies each indexed entry as new, modified, deleted, unchanged or conflicting. A planning phase converts that classification into an ordered operation list — copy, overwrite, move to the versioned backup folder, or skip — which is written to a job journal before any file is touched. The execution phase then applies the plan transactionally: if the process is interrupted, the journal allows the next run to resume from the last committed operation rather than restarting the entire job. A final verification phase re-hashes written files and reports discrepancies.

Conflict detection is central to the two-way mode. When both sides of a pair changed the same relative path since the last recorded sync state, the engine does not guess a winner. Instead it preserves both copies by writing the incoming variant alongside the existing one with a conflict suffix derived from the source machine name and timestamp, and it records the event in the job report. Operators can then resolve the pair manually or through the built-in resolution view, which shows side-by-side metadata for each conflicting file. The last-sync state database is stored per job and keyed by relative path, so conflict logic remains stable even when folders are relocated on disk.

Dry-run preview mode exercises the scan, comparison and planning phases in full but halts before execution, producing the same operation list and conflict report that a live run would generate. This allows an operator to audit an unfamiliar folder pair, confirm direction policies and catch unexpected deletions before committing any change. Preview output is exportable as a plain-text report for review or archival.

Scheduled jobs are managed by a lightweight background agent that launches at user sign-in and evaluates job schedules against a persistent queue. Jobs missed while the workstation was offline are queued and run in priority order once the agent resumes; overlapping runs of the same job are prevented by a per-job lock. Every run — scheduled, manual or preview — writes a structured log entry with operation counts, byte totals, elapsed time and any conflicts raised, and retention limits keep the log store bounded. All state, journals and logs remain on the local volume, and no network listener is opened by the application.

Compatibility

On1 NoSync targets Windows 10 (21H2 or later) and Windows 11 on 64-bit x64 hardware, and is validated against the desktop editions of both releases. The synchronization engine runs entirely on the local machine and requires no external service, account, or network listener, which keeps it suitable for isolated small-office and home networks as well as single-workstation deployments.

Component Minimum Recommended
OS Windows 10 21H2 (64-bit) Windows 11 23H2 or later
CPU 2-core x64 4-core x64
RAM 4 GB 8 GB or more
Storage 500 MB for the application and job database SSD with headroom for sync journals and previews
Filesystem NTFS on both endpoints NTFS or ReFS on both endpoints
Network Not required for local folder pairs Gigabit LAN or better for network share pairs

Filesystem and path support. Two-way synchronization is supported between local NTFS volumes and between local paths and mapped network shares (SMB 2.1 or later). Long paths beyond the legacy 260-character limit are handled when the Windows long-path policy is enabled. Paths containing non-ASCII characters, spaces, and reserved device names are normalized internally before comparison.

Folder pair matrix. The engine supports local-to-local, local-to-network share, and network share-to-network share pairings. Each pair is configured independently with its own schedule and conflict policy, so a single installation can manage several workflows with different cadences.

Scheduling and session behavior. Scheduled jobs run under the signed-in user session or as a background task, depending on the configured trigger. Jobs paused by sleep, hibernate, or a disconnected share resume automatically when the condition clears, and the dry-run preview mode remains available at all times without altering either endpoint.

Permission requirements. Read and write access is required on both roots of every configured pair. When synchronization runs against a network share, the account executing the job must hold the corresponding share and NTFS permissions. No elevated privileges are needed for standard local folder pairs.

Coexistence with other tools. On1 NoSync operates on folder contents at the file level and does not register shell extensions or file-system filter drivers. It can therefore run alongside conventional backup agents and cloud sync clients, provided that overlapping folder pairs are avoided, since two tools writing to the same tree will produce conflicting change records.

Version and update channel. Compatibility is maintained within a major release line. Builds are published on the stable channel by default; the beta channel is available for early validation of new Windows feature updates. Configuration files and job definitions remain forward-compatible within the same major version.

Configuration Reference

On1 NoSync is configured through a combination of per-user settings files, machine-wide service configuration, and an optional command-line interface for scripted maintenance. All settings are human-readable and can be edited directly while the application is closed and the background sync service is stopped.

Configuration Locations

Path Purpose
%LOCALAPPDATA%\On1\NoSync\Jobs\ Default root for sync job definitions and per-job state journals
%APPDATA%\On1\NoSync\settings.json Per-user application settings, including default conflict policy and preview options
%APPDATA%\On1\NoSync\filters.json User-defined include and exclude patterns applied to new sync jobs
%PROGRAMDATA%\On1\NoSync\service.conf Machine-wide background scheduler configuration shared by all user sessions
%PROGRAMDATA%\On1\NoSync\Logs\ Scheduler and CLI diagnostic logs, rotated daily
%LOCALAPPDATA%\On1\NoSync\Cache\ Staging area for dry-run preview data and operation manifests, safe to clear

Core Settings

Setting Default Notes
sync.mode two-way Values: two-way, mirror-left, mirror-right
sync.conflictPolicy prompt Values: prompt, newest-wins, keep-both, skip
sync.dryRunFirst true Instructs new jobs to open in preview mode before any file operation is committed
sync.intervalMinutes 15 Scheduler cadence for recurring jobs on registered folder pairs
sync.retryCount 3 Number of retry passes for locked or transiently unavailable files
filters.excludeHidden true Skips system and hidden files unless explicitly overridden per job
filters.maxFileSizeMB 4096 Upper bound for individual file transfer during a sync pass
preview.manifestRetention 7 Days a dry-run manifest is retained for review and comparison
startup.launchScheduler true Starts the background scheduler with the user session
update.channel stable Switch to preview to receive prerelease scheduler builds
logging.level info Values: error, warn, info, debug, trace

Job Definitions

Each sync job is stored as a discrete entry under the jobs root and describes one folder pairing. A job definition captures the source and target roots, the direction mode, the conflict policy override, and an optional schedule. Jobs can be created through the interface or authored directly as files; the scheduler validates each definition on load and reports malformed entries in the diagnostic log rather than failing the entire queue.

Job-level keys include job.name, job.source, job.target, job.mode, job.conflictPolicy, job.schedule, and job.enabled. A job set to preview mode produces a manifest on each pass instead of applying changes, allowing the operator to inspect the intended operations before promoting the job to live execution.

Conflict Detection Parameters

Conflict detection compares file identity, size, and last-write timestamp across both roots. The sync.conflictPolicy setting governs resolution, and the keep-both policy appends a timestamp suffix to the incoming copy so no data is discarded. When prompt is active, unresolved conflicts are queued and surfaced for operator review before the next scheduled pass proceeds.

Command-Line Options

The bundled nosync-cli.exe helper exposes job management and maintenance operations for scripted use.

Flag Argument Purpose
--job <name> Selects the sync job to operate on
--run none Executes the selected job immediately
--dry-run none Produces a preview manifest without applying any file operation
--list-jobs none Enumerates configured jobs with their current state
--validate none Checks job definitions and folder accessibility, reporting anomalies
--conflicts none Lists unresolved conflicts awaiting operator review
--log-level error to trace Overrides the configured verbosity for this run

Exit codes follow a fixed contract: 0 indicates a completed pass with no anomalies, 1 indicates one or more skipped or conflicting files, 2 indicates invalid arguments or an unreachable folder root, 3 indicates the scheduler holds a lock on the job, and 4 indicates a manifest validation failure requiring review before the next live pass.

Recommended Baseline

For small office deployments, retain the default two-way mode with prompt conflict resolution and dryRunFirst enabled. Raise logging.level to debug only while diagnosing a specific job, and lower sync.intervalMinutes after confirming that target volumes respond reliably. Keep the preview manifest retention at its default so operators have a review window before manifests are pruned.

FAQ

Does On1 NoSync relocate or duplicate my source files when a folder is added to a sync job?

No. Sync jobs operate strictly on references: the utility records paths and file identities, then reconciles content in place. Source files remain at their original locations unless a distinct copy operation is explicitly selected in the job definition.

How does conflict detection behave when both sides of a folder pair change between runs?

Each run captures a file identity and timestamp baseline. When both replicas diverge from that baseline, the item is flagged as a conflict and withheld from automatic propagation. The dry-run preview lists every flagged item with source and target metadata so an operator can resolve it manually before the next scheduled pass.

Can scheduled sync jobs run while a workstation is locked or a user is signed out?

Yes, provided the job is registered with the machine-level scheduler rather than the per-user session. Jobs configured for machine scope continue under the service account; per-user jobs pause at sign-out and resume at the next sign-in. Verify the scope setting before relying on overnight cadence.

What does dry-run preview mode report, and does it modify anything?

Dry-run mode performs the full scan, comparison and conflict classification without writing to either endpoint. Its report enumerates planned copies, deletions, renames and conflict holds, along with byte counts per item. It is intended for validating new job definitions and for auditing changes before a scheduled window.

Is On1 NoSync usable without a network connection?

Yes. All sync logic, conflict resolution and scheduling execute locally. Network paths are supported when available, but the utility does not require any remote service, account or connectivity to perform two-way folder synchronization between local volumes.

How are jobs scoped for small office and home environments?

A job pairs two folder roots and carries its own schedule, conflict policy and exclusion rules. Multiple jobs can coexist without shared state, so a home user can pair personal folders while an office deployment pairs departmental shares on the same host. Each job's activity is logged independently for review.

License & Disclaimer

On1 NoSync is distributed under the MIT License, a permissive, OSI-approved license that grants unrestricted use, modification, and redistribution of the software in source and binary forms, provided the original copyright notice and permission notice are retained in all copies or substantial portions. The MIT License imposes no warranty, no field-of-use restriction, and no copyleft obligation on derivative works, which makes it suitable for integration into commercial toolchains, internal deployment scripts, and redistributed office bundles.

Under the license terms, redistribution in binary form must reproduce the copyright notice, the list of conditions, and the disclaimer of warranty in the documentation or other materials shipped with the distribution. Modified source distributions must carry prominent notices identifying the changes and may not misrepresent the origin of the software. The license grants no trademark rights; the On1 NoSync name, logotype, and build identifiers may be referenced descriptively but may not be used to endorse derived distributions without separate written permission.

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors, copyright holders, or contributors be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software. Because On1 NoSync performs two-way folder synchronization and executes scheduled sync jobs against user-designated paths, operators are strongly advised to validate job definitions with dry-run preview mode before enabling unattended execution, to maintain independent backups of any folder pair enrolled in a sync job, and to review conflict-resolution outcomes after the first scheduled pass. The maintainers accept no responsibility for data loss, file divergence, or workflow interruption resulting from misconfigured sync roots, overlapping job scopes, or storage failures on either endpoint.

The project makes no network calls for licensing, activation, or telemetry; all synchronization, conflict detection, and dry-run evaluation execute locally against the file systems the operator configures. No license key, account registration, or online entitlement check is required to operate any documented feature. Distribution of the compiled Windows 10/11 build is permitted under the same MIT terms, and the corresponding source remains available from the project's own release artifacts. Third-party components bundled with the installer are governed by their respective licenses, which are enumerated in the build's notices file and take precedence over this summary where they conflict.

探索相关项目

加载中…