{"id":24534490,"url":"https://github.com/inc44/thesync","last_synced_at":"2026-04-18T13:34:20.433Z","repository":{"id":221424532,"uuid":"754342283","full_name":"Inc44/TheSync","owner":"Inc44","description":"Synchronize files between a source directory and a destination directory","archived":false,"fork":false,"pushed_at":"2024-02-07T22:36:46.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T22:25:23.708Z","etag":null,"topics":["automation","cli","command-line-tool","conflict-resolution","cross-platform","data-backup","data-integrity","file-synchronization","linux","macos","nodependence","parallel-processing","python","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Inc44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-07T21:26:43.000Z","updated_at":"2024-04-13T19:20:05.000Z","dependencies_parsed_at":"2024-02-07T22:46:54.004Z","dependency_job_id":null,"html_url":"https://github.com/Inc44/TheSync","commit_stats":null,"previous_names":["inc44/thesync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Inc44/TheSync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inc44%2FTheSync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inc44%2FTheSync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inc44%2FTheSync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inc44%2FTheSync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Inc44","download_url":"https://codeload.github.com/Inc44/TheSync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Inc44%2FTheSync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cli","command-line-tool","conflict-resolution","cross-platform","data-backup","data-integrity","file-synchronization","linux","macos","nodependence","parallel-processing","python","windows"],"created_at":"2025-01-22T11:17:23.827Z","updated_at":"2026-04-18T13:34:20.416Z","avatar_url":"https://github.com/Inc44.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis Python script is designed to synchronize files between a source directory and a destination directory. It's implemented in a single file to simplify deployment and usage.\n\n# Features\n\n- **Decision Making**: Choose between automatic syncing or manual user decisions for file conflicts.\n- **Date Modification Correction**: Options to fix date modifications on files either in the source or destination directory.\n- **Verification**: Verify file integrity through size comparison and optional hash checks.\n- **Concurrency**: Supports both serial and parallel processing to optimize performance.\n- **Customizable Thread Count**: Allows specification of the number of threads for parallel processing.\n\n# Installation\n\nDownload the Python script to your local machine and ensure Python is installed on your system to execute the script, as it's the only external dependency.\n\n# Usage\n\n## Parameters\n\n- `source_directory`: Specifies the source directory from which to sync files.\n- `destination_directory`: Specifies the target directory to which files will be synced.\n- `--decision_maker (-dm)`: Sets the conflict resolution mode (`user` for manual resolution or `auto` for automatic), with `auto` being the default.\n- `--date_modified_fix_source (-dmfs)`: Chooses the directory (`source_directory` or `destination_directory`) whose file modification dates are to be used for synchronization, with `destination_directory` as the default.\n- `--date_modified_fix_enabled (-dmfe)`: Toggles the date modification fix feature on or off, with it being enabled by default.\n- `--verify_steps (-vs)`: Sets the number of verification steps, with the default set to 0.\n- `--verify_hash (-vh)`: Turns on hash verification for a more thorough integrity check, though it is off by default.\n- `--parallel_processing_mode (-ppm)`: Enables or disables parallel processing, with it being disabled by default or if manual resolution mode is used.\n- `--threads_count (-tc)`: Determines the number of threads to use for parallel processing, with 8 threads as the default.\n\n## Commands\n\nExecute the script from the command line, providing the required directories and any optional parameters:\n\n```bash\npython -O thesync.py \u003csource_directory\u003e \u003cdestination_directory\u003e [options]\n```\n\n# How It Works\n\n## Sync Logic\n\n![logic](mermaid_logic.png)\n\n## Sync Conflict Resolution\n\n![logic](mermaid_decision_tree.png)\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finc44%2Fthesync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finc44%2Fthesync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finc44%2Fthesync/lists"}