├── .gitignore ├── FILTERING.md ├── Filters ├── LICENSE.txt ├── RCLONE_TEST ├── README.md ├── TESTCASES.md ├── TROUBLESHOOTING.md ├── Test ├── run3.2.txt ├── testrcsync └── tests │ ├── test_all_changed │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ └── consolelog.txt │ └── initial │ │ ├── RCLONE_TEST │ │ ├── file1 - Copy (2).txt │ │ ├── file1 - Copy (3).txt │ │ ├── file1 - Copy (4).txt │ │ ├── file1 - Copy (5).txt │ │ ├── file1 - Copy.txt │ │ ├── file1.txt │ │ └── subdir │ │ └── file20.txt │ ├── test_basic │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1 - Copy (2).txt │ │ ├── file1 - Copy (3).txt │ │ ├── file1 - Copy (4).txt │ │ ├── file1 - Copy (5).txt │ │ ├── file1 - Copy.txt │ │ ├── file1.txt │ │ └── subdir │ │ │ └── file20.txt │ └── modfiles │ │ └── file1.txt │ ├── test_changes │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P2 │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ ├── file7.txt │ │ └── file8.txt │ └── modfiles │ │ ├── file1.txt │ │ ├── file10.txt │ │ ├── file11.txt │ │ ├── file2.txt │ │ ├── file5L.txt │ │ ├── file5R.txt │ │ ├── file6.txt │ │ └── file7.txt │ ├── test_check_access │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── Path1_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Path1_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Path1_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Path1_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── consolelog.txt │ │ ├── missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ └── missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ └── subdir │ │ │ ├── RCLONE_TEST │ │ │ └── file20.txt │ └── modfiles │ │ └── hold.txt │ ├── test_check_access_filters │ ├── ExcludeOther_filtersfile.txt │ ├── IncludeOther_filtersfile.txt │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── ExcludeOther_filtersfile.txt │ │ ├── ExcludeOther_filtersfile.txt-MD5 │ │ ├── Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── IncludeOther_filtersfile.txt │ │ ├── IncludeOther_filtersfile.txt-MD5 │ │ ├── Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Include_Initial_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Include_Initial_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Include_Initial_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Include_Initial_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── subdir-not │ │ │ ├── RCLONE_TEST │ │ │ ├── file20.txt │ │ │ └── subdir-not2 │ │ │ │ ├── RCLONE_TEST │ │ │ │ └── file30.txt │ │ ├── subdir │ │ │ ├── RCLONE_TEST │ │ │ ├── file20.txt │ │ │ ├── subdirA │ │ │ │ ├── RCLONE_TEST │ │ │ │ └── file30.txt │ │ │ └── subdirB │ │ │ │ ├── RCLONE_TEST │ │ │ │ └── file30.txt │ │ └── subdirX │ │ │ ├── RCLONE_TEST │ │ │ ├── file20.txt │ │ │ └── subdirX1 │ │ │ ├── RCLONE_TEST │ │ │ └── file30.txt │ └── modfiles │ │ └── hold.txt │ ├── test_check_filename │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── Initial_pass_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Initial_pass_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Initial_pass_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Initial_pass_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ └── consolelog.txt │ ├── initial │ │ ├── .chk_file │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ └── subdir │ │ │ ├── .chk_file │ │ │ └── file20.txt │ └── modfiles │ │ └── hold.txt │ ├── test_check_sync │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ ├── file7.txt │ │ └── file8.txt │ └── modfiles │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ └── LSL_._testdir_path1_._testdir_path2__Path2 │ ├── test_dry_run │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── consolelog.txt │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__files_delete_P1 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__files_delete_P2 │ │ ├── dry_run_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW │ │ ├── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ └── dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ └── file7.txt │ └── modfiles │ │ ├── file1.txt │ │ ├── file10.txt │ │ ├── file11.txt │ │ ├── file2.txt │ │ ├── file5L.txt │ │ ├── file5R.txt │ │ ├── file6.txt │ │ └── file7.txt │ ├── test_extended_char_paths │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Check_access_pass_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── consolelog.txt │ │ ├── first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1 │ │ ├── first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1_NEW │ │ ├── first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2 │ │ ├── first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2_NEW │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1 │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1_NEW │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2 │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2_NEW │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__files_copy_P1P2 │ │ ├── normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__files_copy_P2P1 │ │ ├── 測試_filtersfile.txt │ │ └── 測試_filtersfile.txt-MD5 │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file_enconde_mañana_funcionará.txt │ │ ├── filename_contains_ě_.txt │ │ ├── filename_contains_ࢺ_.txt │ │ ├── Русский.txt │ │ ├── 測試_checkfile │ │ └── 測試_Русский_ě_áñ │ │ │ ├── filename_contains_ě_.txt │ │ │ ├── filename_contains_ࢺ_.txt │ │ │ └── 測試_checkfile │ └── modfiles │ │ ├── file1.txt │ │ └── 測試_filtersfile.txt │ ├── test_extended_filenames │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P1 │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1 - Copy (2).txt │ │ ├── file1 - Copy (3).txt │ │ ├── file1 - Copy (4).txt │ │ ├── file1 - Copy.txt │ │ ├── file1.txt │ │ ├── file_enconde_mañana_funcionará.txt │ │ ├── filename_contains_ě_.txt │ │ ├── filename_contains_ࢺ_.txt │ │ ├── subdir_with_ࢺ_ │ │ │ ├── filename_contains_ě_.txt │ │ │ └── filename_contains_ࢺ_.txt │ │ └── Русский.txt │ └── modfiles │ │ └── file1.txt │ ├── test_filters │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── filtersfile.txt │ ├── golden │ │ ├── Firstsync_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Firstsync_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Firstsync_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Firstsync_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── Firstsync_LSLfiltersfile.txt │ │ ├── Firstsync_LSLfiltersfile.txt-MD5 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSLfiltersfile.txt │ │ ├── LSLfiltersfile.txt-MD5 │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ ├── file7.txt │ │ └── subdir │ │ │ └── file20.txt │ └── modfiles │ │ └── fileZ.txt │ ├── test_filtersfile_checks │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── filtersfile.txt │ ├── filtersfile2.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── consolelog.txt │ │ ├── filtersfile.txt │ │ └── filtersfile.txt-MD5 │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ └── subdir │ │ │ └── file20.txt │ └── modfiles │ │ └── hold.txt │ ├── test_first_sync │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_ERROR │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_ERROR │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── consolelog.txt │ │ ├── empty_path1_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── empty_path1_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── empty_path1_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── empty_path1_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── empty_path1_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ │ ├── empty_path2_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── empty_path2_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── empty_path2_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── empty_path2_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ └── mixed_diffs_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1 │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ └── file7.txt │ └── modfiles │ │ ├── fileA.txt │ │ └── fileB.txt │ ├── test_max_deletes_path1 │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P2 │ │ └── consolelog.txt │ ├── initial │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ ├── file7.txt │ │ ├── file8.txt │ │ └── file9.txt │ └── modfiles │ │ └── hold.txt │ ├── test_max_deletes_path2_force │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P1 │ │ └── consolelog.txt │ ├── initial │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file3.txt │ │ ├── file4.txt │ │ ├── file5.txt │ │ ├── file6.txt │ │ ├── file7.txt │ │ ├── file8.txt │ │ └── file9.txt │ └── modfiles │ │ └── hold.txt │ ├── test_rclone_args │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P1P2 │ │ ├── LSL_._testdir_path1_._testdir_path2__files_copy_P2P1 │ │ └── consolelog.txt │ ├── initial │ │ ├── RCLONE_TEST │ │ ├── file1.txt │ │ ├── file2.txt │ │ └── subdir │ │ │ ├── file20.txt │ │ │ └── file21.txt │ └── modfiles │ │ ├── file1.txt │ │ ├── file2.txt │ │ ├── file20.txt │ │ └── file21.txt │ └── test_rmdirs │ ├── SyncCmds.txt │ ├── TestDesc.txt │ ├── golden │ ├── LSL_._testdir_path1_._testdir_path2__Path1 │ ├── LSL_._testdir_path1_._testdir_path2__Path1_NEW │ ├── LSL_._testdir_path1_._testdir_path2__Path2 │ ├── LSL_._testdir_path1_._testdir_path2__Path2_NEW │ ├── LSL_._testdir_path1_._testdir_path2__files_delete_P2 │ └── consolelog.txt │ ├── initial │ ├── RCLONE_TEST │ ├── file1 - Copy (2).txt │ ├── file1 - Copy (3).txt │ ├── file1 - Copy (4).txt │ ├── file1 - Copy (5).txt │ ├── file1 - Copy.txt │ ├── file1.txt │ └── subdir │ │ └── file20.txt │ └── modfiles │ └── file1.txt ├── USAGE.md ├── rclonesync └── vault_rclonesync.zip /.gitignore: -------------------------------------------------------------------------------- 1 | Test/testwd/ 2 | Test/testdir/ 3 | .vscode/ 4 | win_subprocess.pyc 5 | win32_unicode_argv.pyc 6 | Test/wincmd.bat 7 | -------------------------------------------------------------------------------- /Filters: -------------------------------------------------------------------------------- 1 | # Filter file for use with rclonesync 2 | # See https://rclone.org/filtering/ for filtering rules 3 | # NOTICE: If you make changes to this file you MUST do a --first-sync run. Run with --dry-run to see what changes will be made. 4 | 5 | # Dropbox wont sync some files, so filtered here. See https://www.dropbox.com/en/help/syncing-uploads/files-not-syncing 6 | - .dropbox.attr 7 | - ~*.tmp 8 | - ~$* 9 | - .~* 10 | - desktop.ini 11 | - .dropbox 12 | 13 | # Used for rclonesync testing, so excluded from normal runs 14 | - /testdir/ 15 | 16 | # Other example filters 17 | #- /TiBU/ 18 | #- /Photos/ 19 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Chris Nelson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_all_changed 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Change timestamp on all files except RCLONE_TEST 7 | touch :PATH1:file* --date="2005-01-02" 8 | touch :PATH1:subdir/file* --date="2005-01-02" 9 | 10 | :MSG: Sync should pass 11 | :RCSEXEC: :PATH1: :PATH2: 12 | 13 | :MSG: Change timestamp on all files including RCLONE_TEST 14 | touch :PATH1:* --date="2004-01-02" 15 | touch :PATH1:subdir/* --date="2004-01-02" 16 | 17 | :MSG: Sync should fail 18 | :RCSEXEC: :PATH1: :PATH2: 19 | 20 | :MSG: Sync with --force should pass 21 | :RCSEXEC: :PATH1: :PATH2: --force 22 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_all_changed 2 | 3 | Check trap for all files changed logic 4 | 5 | Setup initial state 6 | Change timestamp on all files except RCLONE_TEST 7 | Sync should pass 8 | Change timestamp on all files including RCLONE_TEST 9 | Sync should fail 10 | Sync with --force should pass 11 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2004-01-02 00:00:00.000000000 RCLONE_TEST 2 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2004-01-02 00:00:00.000000000 file1 - Copy.txt 7 | 0 2004-01-02 00:00:00.000000000 file1.txt 8 | 0 2004-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2004-01-02 00:00:00.000000000 RCLONE_TEST 2 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2004-01-02 00:00:00.000000000 file1 - Copy.txt 7 | 0 2004-01-02 00:00:00.000000000 file1.txt 8 | 0 2004-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2004-01-02 00:00:00.000000000 RCLONE_TEST 2 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2004-01-02 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2004-01-02 00:00:00.000000000 file1 - Copy.txt 7 | 0 2004-01-02 00:00:00.000000000 file1.txt 8 | 0 2004-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2005-01-02 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2005-01-02 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2005-01-02 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2005-01-02 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2005-01-02 00:00:00.000000000 file1 - Copy.txt 7 | 0 2005-01-02 00:00:00.000000000 file1.txt 8 | 0 2005-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | RCLONE_TEST 2 | file1 - Copy (2).txt 3 | file1 - Copy (3).txt 4 | file1 - Copy (4).txt 5 | file1 - Copy (5).txt 6 | file1 - Copy.txt 7 | file1.txt 8 | subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1 - Copy (2).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1 - Copy (2).txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1 - Copy (3).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1 - Copy (3).txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1 - Copy (4).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1 - Copy (4).txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1 - Copy (5).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1 - Copy (5).txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1 - Copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1 - Copy.txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_all_changed/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_all_changed/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_basic/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_basic 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Place newer files on the Path1 and Path2 7 | # Must force a specific mod date since file mod data is lost through git 8 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-02" 9 | :RCLONE: copy :TESTCASEROOT:modfiles/file1.txt :PATH2: 10 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:subdir/file20.txt 11 | 12 | :MSG: rclonesync test run 13 | :RCSEXEC: :PATH1: :PATH2: 14 | -------------------------------------------------------------------------------- /Test/tests/test_basic/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_basic 2 | 3 | Simple test case for development -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 20 2001-01-02 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 20 2001-01-02 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 20 2001-01-02 00:00:00.000000000 file1.txt 8 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | subdir/file20.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_basic/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | file1.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1 - Copy (2).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1 - Copy (2).txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1 - Copy (3).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1 - Copy (3).txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1 - Copy (4).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1 - Copy (4).txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1 - Copy (5).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1 - Copy (5).txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1 - Copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1 - Copy.txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_basic/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_basic/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_basic/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_changes 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Make modifications on Path1 and Path2 7 | :MSG: New on Path2 file10 8 | touch :TESTCASEROOT:modfiles/file10.txt --date="2001-01-02" 9 | :RCLONE: copy :TESTCASEROOT:modfiles/file10.txt :PATH2: 10 | 11 | :MSG: Newer on Path2 file1 12 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-02" 13 | :RCLONE: copy :TESTCASEROOT:modfiles/file1.txt :PATH2: 14 | 15 | :MSG: New on Path1 file11 16 | touch :TESTCASEROOT:modfiles/file11.txt --date="2001-01-02" 17 | :RCLONE: copy :TESTCASEROOT:modfiles/file11.txt :PATH1: 18 | 19 | :MSG: Newer on Path1 file2 20 | touch :TESTCASEROOT:modfiles/file2.txt --date="2001-01-02" 21 | :RCLONE: copy :TESTCASEROOT:modfiles/file2.txt :PATH1: 22 | 23 | :MSG: Deleted on Path2 file3 24 | :RCLONE: delete :PATH2:file3.txt 25 | 26 | :MSG: Deleted on Path1 file4 27 | :RCLONE: delete :PATH1:file4.txt 28 | 29 | :MSG: Deleted on both paths file8 30 | :RCLONE: delete :PATH1:file8.txt 31 | :RCLONE: delete :PATH2:file8.txt 32 | 33 | :MSG: Changed on Path2 and on Path1 file5 (file5R, file5L) 34 | touch :TESTCASEROOT:modfiles/file5R.txt --date="2001-01-02" 35 | :RCLONE: copyto :TESTCASEROOT:modfiles/file5R.txt :PATH2:file5.txt 36 | touch :TESTCASEROOT:modfiles/file5L.txt --date="2001-03-04" 37 | :RCLONE: copyto :TESTCASEROOT:modfiles/file5L.txt :PATH1:file5.txt 38 | 39 | :MSG: Newer on Path2 and deleted on Path1 file6 40 | touch :TESTCASEROOT:modfiles/file6.txt --date="2001-01-02" 41 | :RCLONE: copy :TESTCASEROOT:modfiles/file6.txt :PATH2: 42 | :RCLONE: delete :PATH1:file6.txt 43 | 44 | :MSG: Newer on Path1 and deleted on Path2 file7 45 | touch :TESTCASEROOT:modfiles/file7.txt --date="2001-01-02" 46 | :RCLONE: copy :TESTCASEROOT:modfiles/file7.txt :PATH1: 47 | :RCLONE: delete :PATH2:file7.txt 48 | 49 | :MSG: rclonesync test run 50 | :RCSEXEC: :PATH1: :PATH2: 51 | -------------------------------------------------------------------------------- /Test/tests/test_changes/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_changes - Exercise all of the various file change scenarios 2 | 3 | - New on Path2 file10 4 | - Newer on Path2 file1 5 | - New on Path1 file11 6 | - Newer on Path1 file2 7 | - Deleted on Path2 file3 8 | - Deleted on Path1 file4 9 | - Changed on Path2 and on Path1 file5 (file5r, file5l) 10 | - Newer on Path2 and deleted on Path1 file6 11 | - Newer on Path1 and deleted on Path2 file7 12 | - Deleted on both paths file8 -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 13 2001-01-02 00:00:00.000000000 file2.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 7 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 8 | 20 2001-01-02 00:00:00.000000000 file6.txt 9 | 20 2001-01-02 00:00:00.000000000 file7.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 13 2001-01-02 00:00:00.000000000 file2.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 7 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 8 | 20 2001-01-02 00:00:00.000000000 file6.txt 9 | 20 2001-01-02 00:00:00.000000000 file7.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | file11.txt 2 | file2.txt 3 | file5.txt_Path1 4 | file7.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | file5.txt_Path2 2 | file6.txt 3 | file1.txt 4 | file10.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P1: -------------------------------------------------------------------------------- 1 | file3.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P2: -------------------------------------------------------------------------------- 1 | file4.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/initial/file8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_changes/initial/file8.txt -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file10.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file11.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file2.txt: -------------------------------------------------------------------------------- 1 | Newer version -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file5L.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file5R.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file6.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_changes/modfiles/file7.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_check_access 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: 1) First, see that --check-access passes with the initial setup 7 | :RCSEXEC: :PATH1: :PATH2: --check-access 8 | 9 | :MSG: 2) Delete the Path2 subdir RCLONE_TEST, run sync, will fail critical 10 | :RCLONE: delete :PATH2:subdir/RCLONE_TEST 11 | :RCSEXEC: :PATH1: :PATH2: --check-access 12 | :SAVELSL: Path2_missing 13 | 14 | :MSG: 3) Put the Path2 subdir RCLONE_TEST back, run --first-sync 15 | :RCLONE: copy :PATH1:subdir/RCLONE_TEST :PATH2: 16 | :RCSEXEC: :PATH1: :PATH2: --first-sync 17 | 18 | :MSG: 4) Run sync with --check-access. Should pass. 19 | :RCSEXEC: :PATH1: :PATH2: --check-access 20 | 21 | :MSG: 5) Delete Path1 top level RCLONE_TEST, run sync, will fail critical 22 | :RCLONE: delete :PATH1:RCLONE_TEST 23 | :RCSEXEC: :PATH1: :PATH2: --check-access 24 | :SAVELSL: Path1_missing 25 | 26 | :MSG: 6) Run again, will fail critical due to missing lsl files. 27 | :RCSEXEC: :PATH1: :PATH2: --check-access 28 | :SAVELSL: missing_LSLs 29 | rm :WORKDIR:LSL* 30 | 31 | :MSG: 7) Run --first-sync, which will copy the Path2 top level back to Path1 32 | :RCSEXEC: :PATH1: :PATH2: --first-sync 33 | 34 | :MSG: 8) Run sync with --check-access. Should pass. 35 | :RCSEXEC: :PATH1: :PATH2: --check-access 36 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_check_access 2 | 3 | RCLONE_TEST files in the top level and subdir 4 | 5 | 1) First, see that --check-access passes with the initial setup 6 | 2) Delete the Path2 subdir RCLONE_TEST, run sync, will fail critical 7 | 3) Put the Path2 subdir RCLONE_TEST back, run --first-sync 8 | 4) Run sync with --check-access. Should pass. 9 | 5) Delete Path1 top level RCLONE_TEST, run sync, will fail critical 10 | 6) Run again, will fail critical due to missing lsl files. 11 | 7) Run --first-sync, which will copy the Path2 top level back to Path1 12 | 8) Run sync with --check-access. Should pass. 13 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | RCLONE_TEST 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path1_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path1_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path1_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path1_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/golden/missing_LSLs_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/subdir/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/ExcludeOther_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # EXCLUDE ALL Filters file for Check Access filtering testing 2 | # another comment 3 | # and another 4 | 5 | - /subdir/subdirA/ 6 | + /subdir/** 7 | - /subdir-not/ 8 | + /* 9 | - ** 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/IncludeOther_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # INCLUDE OTHER Filters file for Check Access filtering testing 2 | # another comment 3 | # and another 4 | 5 | - /subdir/subdirA/ 6 | # + /subdir/** 7 | - /subdir-not/ 8 | #+ /* 9 | #- ** 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_check_access_filters 2 | 3 | Test Check Access construction of select/exclude filters for the RCLONE_TEST files 4 | 5 | NOTE: Include Other tests may result in LSL file compare diffs due to rclone processing order change. False fail. 6 | 7 | Tests are done in two phases 8 | EXCLUDE OTHER tests check that RCLONE_TEST files are only found in the explicity included directories. 9 | INCLUDE OTHER tesss check that RCLONE_TEST files are found in all directories not explicity excluded. 10 | 11 | Each phase checks 12 | 1) that missing RCLONE_TEST files in don't care directories don't cause failures 13 | 2) that missing RCLONE_TEST files in care directories do cause failures 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/ExcludeOther_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # EXCLUDE ALL Filters file for Check Access filtering testing 2 | # another comment 3 | # and another 4 | 5 | - /subdir/subdirA/ 6 | + /subdir/** 7 | - /subdir-not/ 8 | + /* 9 | - ** 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/ExcludeOther_filtersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | 5f3b733c7ce900a9511a21d8ef52f328 -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 8 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 8 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_Initial_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Exclude_PassRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/IncludeOther_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # INCLUDE OTHER Filters file for Check Access filtering testing 2 | # another comment 3 | # and another 4 | 5 | - /subdir/subdirA/ 6 | # + /subdir/** 7 | - /subdir-not/ 8 | #+ /* 9 | #- ** 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/IncludeOther_filtersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | b1e00ebe36a1d4e5097ca6d3d354c0ca -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 12 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_ErrorRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 6 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 7 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 8 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 9 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 10 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 11 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 12 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 13 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_Initial_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_Initial_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_Initial_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 10 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_Initial_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 10 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/golden/Include_PassRun_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdirX/RCLONE_TEST 7 | 0 2000-01-01 00:00:00.000000000 subdirX/file20.txt 8 | 110 2000-01-01 00:00:00.000000000 subdir/RCLONE_TEST 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 110 2000-01-01 00:00:00.000000000 subdirX/subdirX1/RCLONE_TEST 11 | 0 2000-01-01 00:00:00.000000000 subdirX/subdirX1/file30.txt 12 | 110 2000-01-01 00:00:00.000000000 subdir/subdirB/RCLONE_TEST 13 | 0 2000-01-01 00:00:00.000000000 subdir/subdirB/file30.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir-not/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir-not/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdir-not/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir-not/subdir-not2/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir-not/subdir-not2/file30.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdir-not/subdir-not2/file30.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/subdirA/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/subdirA/file30.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdir/subdirA/file30.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/subdirB/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdir/subdirB/file30.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdir/subdirB/file30.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdirX/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdirX/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdirX/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdirX/subdirX1/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/initial/subdirX/subdirX1/file30.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_access_filters/initial/subdirX/subdirX1/file30.txt -------------------------------------------------------------------------------- /Test/tests/test_check_access_filters/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_check_filename 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | 7 | :MSG: 1) First, see that --check-access passes with the initial setup 8 | :RCSEXEC: :PATH1: :PATH2: --check-access --check-filename .chk_file 9 | :SAVELSL: Initial_pass 10 | 11 | 12 | :MSG: 2) Delete the remote subdir .chk_file, run sync, will fail critical 13 | :RCLONE: delete :PATH2:subdir/.chk_file 14 | :RCSEXEC: :PATH1: :PATH2: --check-access --check-filename .chk_file --no-cleanup 15 | :SAVELSL: Path2_missing 16 | rm :WORKDIR:LSL* 17 | 18 | 19 | :MSG: 3) Put the remote subdir .chk_file back, run --first-sync 20 | :RCLONE: copy :PATH1:subdir/.chk_file :PATH2: 21 | :RCSEXEC: :PATH1: :PATH2: --check-access --first-sync --check-filename .chk_file 22 | 23 | 24 | :MSG: 4) Run sync with --check-access. Should pass. 25 | :RCSEXEC: :PATH1: :PATH2: --check-access --check-filename .chk_file --no-cleanup 26 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_check_filename 2 | 3 | Test --check-filename .chk_file. test_check_access is a more complete test of the check-access logic. 4 | 5 | 1) First, see that --check-access passes with the initial setup 6 | 2) Delete the remote subdir .chk_file, run sync, will fail critical 7 | 3) Put the remote subdir .chk_file back, run --first-sync 8 | 4) Run sync with --check-access. Should pass. 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Initial_pass_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Initial_pass_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Initial_pass_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Initial_pass_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 110 2000-01-01 00:00:00.000000000 subdir/.chk_file 7 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/golden/Path2_missing_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 .chk_file 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 7 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/.chk_file: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_filename/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_filename/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_filename/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_filename/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/subdir/.chk_file: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_filename/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_filename/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_check_filename/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_check_sync 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: 1) Run --check-sync-only on a clean sync 7 | :RCSEXEC: :PATH1: :PATH2: --check-sync-only 8 | 9 | :MSG: 2) Copy modified LSL files into the workdir 10 | :RCLONE: copy :TESTCASEROOT:modfiles/LSL_._testdir_path1_._testdir_path2__Path1 :WORKDIR: 11 | :RCLONE: copy :TESTCASEROOT:modfiles/LSL_._testdir_path1_._testdir_path2__Path2 :WORKDIR: 12 | 13 | :MSG: 3) Run --check-sync-only on modified LSL files 14 | :RCSEXEC: :PATH1: :PATH2: --check-sync-only 15 | :SAVELSL: Check_sync_only 16 | 17 | :MSG: 4) Run normal sync to check that it critical aborts 18 | :RCSEXEC: :PATH1: :PATH2: 19 | 20 | :MSG: 5) Run first-sync 21 | rm :WORKDIR:LSL* 22 | :RCSEXEC: :PATH1: :PATH2: --first-sync 23 | 24 | :MSG: 6) Run normal sync with check-sync enabled (default) 25 | :RCSEXEC: :PATH1: :PATH2: 26 | 27 | :MSG: 7) Run normal sync with --no-check-sync 28 | :RCSEXEC: :PATH1: :PATH2: --no-check-sync 29 | 30 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_check_sync - Exercise LSL file integrity checks 2 | 3 | 1) Run --check-sync-only on a clean sync 4 | 2) Copy modified LSL files into the workdir 5 | 3) Run --check-sync-only on modified LSL files 6 | 4) Run normal sync to check that it critical aborts 7 | 5) Run first-sync 8 | 6) Run normal sync with check-sync enabled (default) 9 | 7) Run normal sync with --no-check-sync 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file10.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 6 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | 20 2001-01-02 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 6 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | 20 2001-01-02 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/Check_sync_only_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 file8.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/initial/file8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_check_sync/initial/file8.txt -------------------------------------------------------------------------------- /Test/tests/test_check_sync/modfiles/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file10.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 6 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | 20 2001-01-02 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_check_sync/modfiles/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 6 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | 20 2001-01-02 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_dry_run 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: New on Path2 file10 7 | touch :TESTCASEROOT:modfiles/file10.txt --date="2001-01-02" 8 | :RCLONE: copy :TESTCASEROOT:modfiles/file10.txt :PATH2: 9 | 10 | :MSG: Newer on Path2 file1 11 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-02" 12 | :RCLONE: copy :TESTCASEROOT:modfiles/file1.txt :PATH2: 13 | 14 | :MSG: New on Path1 file11 15 | touch :TESTCASEROOT:modfiles/file11.txt --date="2001-01-02" 16 | :RCLONE: copy :TESTCASEROOT:modfiles/file11.txt :PATH1: 17 | 18 | :MSG: Newer on Path1 file2 19 | touch :TESTCASEROOT:modfiles/file2.txt --date="2001-01-02" 20 | :RCLONE: copy :TESTCASEROOT:modfiles/file2.txt :PATH1: 21 | 22 | :MSG: Deleted on Path2 file3 23 | :RCLONE: delete :PATH2:file3.txt 24 | 25 | :MSG: Deleted on Path1 file4 26 | :RCLONE: delete :PATH1:file4.txt 27 | 28 | :MSG: Changed on Path2 and on Path1 file5 (file5R, file5L) 29 | touch :TESTCASEROOT:modfiles/file5R.txt --date="2001-01-02" 30 | :RCLONE: copyto :TESTCASEROOT:modfiles/file5R.txt :PATH2:file5.txt 31 | touch :TESTCASEROOT:modfiles/file5L.txt --date="2001-03-04" 32 | :RCLONE: copyto :TESTCASEROOT:modfiles/file5L.txt :PATH1:file5.txt 33 | 34 | :MSG: Newer on Path2 and deleted on Path1 file6 35 | touch :TESTCASEROOT:modfiles/file6.txt --date="2001-01-02" 36 | :RCLONE: copy :TESTCASEROOT:modfiles/file6.txt :PATH2: 37 | :RCLONE: delete :PATH1:file6.txt 38 | 39 | :MSG: Newer on Path1 and deleted on Path2 file7 40 | touch :TESTCASEROOT:modfiles/file7.txt --date="2001-01-02" 41 | :RCLONE: copy :TESTCASEROOT:modfiles/file7.txt :PATH1: 42 | :RCLONE: delete :PATH2:file7.txt 43 | 44 | :MSG: Sync with --dry-run and --first-sync 45 | :RCSEXEC: :PATH1: :PATH2: --dry-run --first-sync 46 | :SAVELSL: dry_run_first_sync 47 | 48 | :MSG: Sync with --dry-run 49 | :RCSEXEC: :PATH1: :PATH2: --dry-run 50 | :SAVELSL: dry_run 51 | 52 | :MSG: Sync without --dry-run 53 | :RCSEXEC: :PATH1: :PATH2: 54 | 55 | 56 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_dry_run: 2 rclonesync runs, first with --dry-run. 2 | NOTE: --dry-run turns on rlcone --verbose, and rclone processes files in a 3 | non-deterministic order, resulting in miscompares with the golden results. 4 | Results from this test must be manually checked. 5 | 6 | Derived from test_changes 7 | - New on Path2 file10 8 | - Newer on Path2 file1 9 | - New on Path1 file11 10 | - Newer on Path1 file2 11 | - Deleted on Path2 file3 12 | - Deleted on Path1 file4 13 | - Changed on Path2 and on Path1 file5 (file5r, file5l) 14 | - Newer on Path2 and deleted on Path1 file6 15 | - Newer on Path1 and deleted on Path2 file7 16 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 13 2001-01-02 00:00:00.000000000 file2.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 7 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 8 | 20 2001-01-02 00:00:00.000000000 file6.txt 9 | 20 2001-01-02 00:00:00.000000000 file7.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 20 2001-01-02 00:00:00.000000000 file11.txt 5 | 13 2001-01-02 00:00:00.000000000 file2.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt_Path1 7 | 20 2001-01-02 00:00:00.000000000 file5.txt_Path2 8 | 20 2001-01-02 00:00:00.000000000 file6.txt 9 | 20 2001-01-02 00:00:00.000000000 file7.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | file11.txt 2 | file2.txt 3 | file5.txt_Path1 4 | file7.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | file5.txt_Path2 2 | file6.txt 3 | file1.txt 4 | file10.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P1: -------------------------------------------------------------------------------- 1 | file3.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P2: -------------------------------------------------------------------------------- 1 | file4.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | file10.txt 2 | file4.txt 3 | file6.txt 4 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | file11.txt 2 | file2.txt 3 | file5.txt_Path1 4 | file7.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | file5.txt_Path2 2 | file6.txt 3 | file1.txt 4 | file10.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__files_delete_P1: -------------------------------------------------------------------------------- 1 | file3.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__files_delete_P2: -------------------------------------------------------------------------------- 1 | file4.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | file10.txt 2 | file4.txt 3 | file6.txt 4 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file11.txt 4 | 13 2001-01-02 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file3.txt 6 | 20 2001-03-04 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_DRYRUN_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file10.txt 4 | 0 2000-01-01 00:00:00.000000000 file2.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 20 2001-01-02 00:00:00.000000000 file5.txt 7 | 20 2001-01-02 00:00:00.000000000 file6.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/golden/dry_run_first_sync_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | file10.txt 2 | file4.txt 3 | file6.txt 4 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_dry_run/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file10.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file11.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file2.txt: -------------------------------------------------------------------------------- 1 | Newer version -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file5L.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file5R.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file6.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_dry_run/modfiles/file7.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_extended_char_paths 2 | 3 | #:MSG: Initial rclonesync --first-sync 4 | #:RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: --first-sync of subdirs with extended chars 7 | :RCSEXEC: :PATH1:測試_Русский_ě_áñ :PATH2:測試_Русский_ě_áñ --first-sync 8 | :SAVELSL: first_sync 9 | 10 | :MSG: Place new files with extended chars on each side 11 | # Must force a specific mod date since file mod data is lost through git 12 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-02" 13 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:測試_Русский_ě_áñ/測試_file1p1 14 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:測試_Русский_ě_áñ/測試_file1p2 15 | :MSG: Normal sync of subdirs with extended chars 16 | :RCSEXEC: :PATH1:測試_Русский_ě_áñ :PATH2:測試_Русский_ě_áñ 17 | :SAVELSL: normal_sync 18 | rm :WORKDIR:LSL* 19 | 20 | 21 | :MSG: Test --check-filename with extended chars - check fail 22 | :RCSEXEC: :PATH1: :PATH2: --first-sync 23 | :RCLONE: delete :PATH1:測試_Русский_ě_áñ/測試_checkfile 24 | :RCSEXEC: :PATH1: :PATH2: --check-access --check-filename 測試_checkfile 25 | :SAVELSL: Check_access_fail 26 | 27 | 28 | :MSG: Test --check-filename with extended chars - check pass 29 | :RCSEXEC: :PATH1: :PATH2: --first-sync 30 | :RCSEXEC: :PATH1: :PATH2: --check-access --check-filename 測試_checkfile 31 | :SAVELSL: Check_access_pass 32 | rm :WORKDIR:LSL* 33 | 34 | 35 | :MSG: Test --filters-file path with extended chars - masks /fileZ.txt 36 | :RCLONE: copy :TESTCASEROOT:modfiles/測試_filtersfile.txt :WORKDIR: 37 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:測試_filtersfile.txt --first-sync 38 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:fileZ.txt 39 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:測試_filtersfile.txt 40 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_extended_char_paths 2 | 3 | Tests handling of extended chars in: 4 | Path1, Path2 5 | --check-filename 6 | --filters-file (path and filename) 7 | 8 | Not tested: 9 | --rclone - Could be done by creating a symbolic link to rclone in the workdir, but not portable to Windows 10 | --config - Ditto 11 | --workdir - Currently hardcoded in testrcsync.py 12 | 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 12 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/Check_access_pass_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | 測試_Русский_ě_áñ/測試_checkfile 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 4 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 5 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 6 | 0 2000-01-01 00:00:00.000000000 Русский.txt 7 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 8 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/filename_contains_ࢺ_.txt 10 | 0 2000-01-01 00:00:00.000000000 測試_Русский_ě_áñ/測試_checkfile 11 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p1 12 | 20 2001-01-02 00:00:00.000000000 測試_Русский_ě_áñ/測試_file1p2 13 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1_NEW: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/first_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2_NEW: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | 20 2001-01-02 00:00:00.000000000 測試_file1p1 5 | 20 2001-01-02 00:00:00.000000000 測試_file1p2 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path1_NEW: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | 20 2001-01-02 00:00:00.000000000 測試_file1p1 5 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | 20 2001-01-02 00:00:00.000000000 測試_file1p1 5 | 20 2001-01-02 00:00:00.000000000 測試_file1p2 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__Path2_NEW: -------------------------------------------------------------------------------- 1 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 2 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 3 | 0 2000-01-01 00:00:00.000000000 測試_checkfile 4 | 20 2001-01-02 00:00:00.000000000 測試_file1p2 5 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | 測試_file1p1 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/normal_sync_LSL_._testdir_path1_測試_Русский_ě_áñ_._testdir_path2_測試_Русский_ě_áñ__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | 測試_file1p2 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/測試_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to and usage of a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/golden/測試_filtersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | 6fc8d989cd5b7f04b4c33518e4cf5d1a -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/file_enconde_mañana_funcionará.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/file_enconde_mañana_funcionará.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/filename_contains_ě_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/filename_contains_ě_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/filename_contains_ࢺ_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/filename_contains_ࢺ_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/Русский.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/Русский.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/測試_checkfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/測試_checkfile -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/filename_contains_ě_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/filename_contains_ě_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/filename_contains_ࢺ_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/filename_contains_ࢺ_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/測試_checkfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_char_paths/initial/測試_Русский_ě_áñ/測試_checkfile -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_char_paths/modfiles/測試_filtersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to and usage of a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_extended_filenames 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Place a newer files on the Path1 and Path2 7 | # Must force a specific mod date since file mod data is lost through git 8 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-02" 9 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:New_top_level_mañana_funcionará.txt 10 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:file_enconde_mañana_funcionará.txt 11 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:subdir_with_ࢺ_/mañana_funcionará.txt 12 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:subdir_with_ࢺ_/filename_contains_ࢺ_p2s.txt 13 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:filename_contains_ࢺ_p1m.txt 14 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:subdir_with_ࢺ_/file_with_測試_.txt 15 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:subdir_with_ࢺ_/test.txt 16 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:Русский.txt 17 | 18 | :MSG: Place a new file on both Path1 and Path2 19 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH2:subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt 20 | touch :TESTCASEROOT:modfiles/file1.txt --date="2001-01-03" 21 | :RCLONE: copyto :TESTCASEROOT:modfiles/file1.txt :PATH1:subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt 22 | 23 | :MSG: Delete files on both Path1 and Path2 24 | :RCLONE: delete :PATH2:filename_contains_ࢺ_.txt 25 | :RCLONE: delete :PATH2:subdir_with_ࢺ_/filename_contains_ě_.txt 26 | :RCLONE: delete :PATH1:Русский.txt 27 | 28 | :MSG: rclonesync test run 29 | :RCSEXEC: :PATH1: :PATH2: 30 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_extended_filenames 2 | 3 | Tests with several files and a subdirectory that contain UTF-8 code points. 4 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 20 2001-01-02 00:00:00.000000000 New_top_level_mañana_funcionará.txt 2 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 file_enconde_mañana_funcionará.txt 9 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 10 | 20 2001-01-02 00:00:00.000000000 filename_contains_ࢺ_p1m.txt 11 | 20 2001-01-02 00:00:00.000000000 Русский.txt 12 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/file_with_測試_.txt 13 | 20 2001-01-03 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path1 14 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path2 15 | 279 2000-01-01 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_.txt 16 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_p2s.txt 17 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/mañana_funcionará.txt 18 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/test.txt 19 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 6 | 0 2000-01-01 00:00:00.000000000 file1.txt 7 | 0 2000-01-01 00:00:00.000000000 file_enconde_mañana_funcionará.txt 8 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 9 | 279 2000-01-01 00:00:00.000000000 filename_contains_ࢺ_.txt 10 | 20 2001-01-02 00:00:00.000000000 filename_contains_ࢺ_p1m.txt 11 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/file_with_測試_.txt 12 | 20 2001-01-03 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt 13 | 279 2000-01-01 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ě_.txt 14 | 279 2000-01-01 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_.txt 15 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/mañana_funcionará.txt 16 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/test.txt 17 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 20 2001-01-02 00:00:00.000000000 New_top_level_mañana_funcionará.txt 2 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 file_enconde_mañana_funcionará.txt 9 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 10 | 20 2001-01-02 00:00:00.000000000 filename_contains_ࢺ_p1m.txt 11 | 20 2001-01-02 00:00:00.000000000 Русский.txt 12 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/file_with_測試_.txt 13 | 20 2001-01-03 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path1 14 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path2 15 | 279 2000-01-01 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_.txt 16 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_p2s.txt 17 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/mañana_funcionará.txt 18 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/test.txt 19 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 20 2001-01-02 00:00:00.000000000 New_top_level_mañana_funcionará.txt 2 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | 20 2001-01-02 00:00:00.000000000 file_enconde_mañana_funcionará.txt 9 | 279 2000-01-01 00:00:00.000000000 filename_contains_ě_.txt 10 | 20 2001-01-02 00:00:00.000000000 Русский.txt 11 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt 12 | 279 2000-01-01 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_.txt 13 | 20 2001-01-02 00:00:00.000000000 subdir_with_ࢺ_/filename_contains_ࢺ_p2s.txt 14 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | filename_contains_ࢺ_p1m.txt 2 | subdir_with_ࢺ_/file_with_測試_.txt 3 | subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path1 4 | subdir_with_ࢺ_/mañana_funcionará.txt 5 | subdir_with_ࢺ_/test.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | subdir_with_ࢺ_/filechangedbothpaths_ࢺ_.txt_Path2 2 | Русский.txt 3 | New_top_level_mañana_funcionará.txt 4 | file_enconde_mañana_funcionará.txt 5 | subdir_with_ࢺ_/filename_contains_ࢺ_p2s.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P1: -------------------------------------------------------------------------------- 1 | filename_contains_ࢺ_.txt 2 | subdir_with_ࢺ_/filename_contains_ě_.txt 3 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file1 - Copy (2).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file1 - Copy (2).txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file1 - Copy (3).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file1 - Copy (3).txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file1 - Copy (4).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file1 - Copy (4).txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file1 - Copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file1 - Copy.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/file_enconde_mañana_funcionará.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/file_enconde_mañana_funcionará.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/filename_contains_ě_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/filename_contains_ě_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/filename_contains_ࢺ_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/filename_contains_ࢺ_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/subdir_with_ࢺ_/filename_contains_ě_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/subdir_with_ࢺ_/filename_contains_ě_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/subdir_with_ࢺ_/filename_contains_ࢺ_.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/subdir_with_ࢺ_/filename_contains_ࢺ_.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/initial/Русский.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_extended_filenames/initial/Русский.txt -------------------------------------------------------------------------------- /Test/tests/test_extended_filenames/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_filters/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_filters 2 | 3 | :RCLONE: copyto :TESTCASEROOT:filtersfile.txt :WORKDIR:LSLfiltersfile.txt 4 | 5 | :MSG: Do --first-sync to force building the filters file -MD5. 6 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:LSLfiltersfile.txt --first-sync 7 | :SAVELSL: Firstsync 8 | 9 | :MSG: Place new files on the Remote 10 | touch :TESTCASEROOT:modfiles/fileZ.txt --date="2001-01-02" 11 | :RCLONE: copyto :TESTCASEROOT:/modfiles/fileZ.txt :PATH2:/fileZ.txt 12 | :RCLONE: copyto :TESTCASEROOT:modfiles/fileZ.txt :PATH1:subdir/fileZ.txt 13 | 14 | 15 | :MSG: rclonesync test run with --filters-file. Path2-side fileZ.txt is filtered. 16 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:LSLfiltersfile.txt 17 | -------------------------------------------------------------------------------- /Test/tests/test_filters/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_filters 2 | 3 | Tests operation of rclonesync --filters-file switch. Note that this test checks for rclonesync's access to 4 | and usage of the filters file, not an extensive test of rclone's filter capability. 5 | 6 | Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. -------------------------------------------------------------------------------- /Test/tests/test_filters/filtersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to and usage of a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSLfiltersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to and usage of a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/Firstsync_LSLfiltersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | 6fc8d989cd5b7f04b4c33518e4cf5d1a -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 20 2001-01-02 00:00:00.000000000 subdir/fileZ.txt 11 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 20 2001-01-02 00:00:00.000000000 subdir/fileZ.txt 11 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | 20 2001-01-02 00:00:00.000000000 subdir/fileZ.txt 11 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | subdir/fileZ.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSLfiltersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to and usage of a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_filters/golden/LSLfiltersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | 6fc8d989cd5b7f04b4c33518e4cf5d1a -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filters/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_filters/modfiles/fileZ.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_filtersfile_checks 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: 1) Place filtersfile in WORKDIR 7 | :RCLONE: copy :TESTCASEROOT:filtersfile.txt :WORKDIR: 8 | 9 | :MSG: 2) Run with --filters-file but with no MD5 Should abort 10 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:filtersfile.txt 11 | 12 | :MSG: 3) Run without --filters-file Should be blocked due to prior CRITICAL abort 13 | :RCSEXEC: :PATH1: :PATH2: 14 | 15 | :MSG: 4) Run with --filters-file and --first-sync 16 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:filtersfile.txt --first-sync 17 | 18 | :MSG: 5) Run with --filters-file alone. Should run 19 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:filtersfile.txt 20 | 21 | :MSG: 6) push changed filters-file to WORKDIR 22 | :RCLONE: copyto :TESTCASEROOT:filtersfile2.txt :WORKDIR:filtersfile.txt 23 | 24 | :MSG: 7) Run with --filters-file alone. Should abort 25 | :RCSEXEC: :PATH1: :PATH2: --filters-file :WORKDIR:filtersfile.txt 26 | 27 | 28 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_filtersfile_checks 2 | 3 | Tests rclonesync's --filters-file MD5 hash checks logic 4 | 5 | Note that this test checks for rclonesync's handling of filters files, not an extensive test of rclone's filter capability. 6 | The effectiveness of the filters is not tested. 7 | 8 | Sequence: 9 | Run with --filters-file but with no MD5 Should CRITICAL abort 10 | Run without --filtersfile Should be blocked due to prior CRITICAL abort 11 | Run with --filters-file and --first-sync 12 | Run with --filters-file alone. Should run 13 | push changed filtersfile 14 | Run with --filters-file alone. Should CRITICAL abort 15 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/filtersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file 2 | # Note that this test checks for rclonesync's access to a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | 7 | # Checks support for extended alphabets, such as Cyrillic 8 | - /Расшаренное/** 9 | - /Lightroom/** 10 | - /iPad 1/** 11 | - /Поездки/** -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/filtersfile2.txt: -------------------------------------------------------------------------------- 1 | # Test filters file - DIFFERENT 2 | # Note that this test checks for rclonesync's access to a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/filtersfile.txt: -------------------------------------------------------------------------------- 1 | # Test filters file - DIFFERENT 2 | # Note that this test checks for rclonesync's access to a filters file, not an extensive test of rclone's filter capability 3 | 4 | # Exclude fileZ.txt in root only. The copy in the subdir should be found and synced. 5 | - /fileZ.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/golden/filtersfile.txt-MD5: -------------------------------------------------------------------------------- 1 | 3ccb786b07842d8208d971bf04340ee1 -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filtersfile_checks/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filtersfile_checks/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_filtersfile_checks/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_filtersfile_checks/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_first_sync 2 | 3 | 1) first-sync with empty path 1, resulting in copying all content from path2 4 | 5 | 2) first-sync with empty path 2, resulting in syncing all content to path2 6 | 7 | 3) Exercise all of the various file difference scenarios during a first-sync 8 | Path1 Path2 Expected action Which wins 9 | file1.txt exists missing Sync Path1 > Path2 Path1 10 | file2.txt missing exists Copy Path2 > Path1 Path2 11 | file3.txt exists newer date Sync Path1 > Path2 Path1 12 | file4.txt missing newer date Copy Path2 > Path1 Path2 13 | file5.txt exists older date Sync Path1 > Path2 Path1 14 | file6.txt older date newer date Sync Path1 > Path2 Path1 15 | file7.txt exists exists (same) None same 16 | 17 | 4) Confirm critical error on normal sync of empty path 18 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__Path1_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 20 2002-02-02 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 20 1999-09-09 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 20 2002-02-02 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 20 1999-09-09 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__Path2_ERROR: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 20 2002-02-02 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 20 1999-09-09 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | file2.txt 2 | file4.txt 3 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__Path1_NEW -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path1_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | RCLONE_TEST 2 | file1.txt 3 | file2.txt 4 | file3.txt 5 | file4.txt 6 | file5.txt 7 | file6.txt 8 | file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path2_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path2_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path2_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 0 2000-01-01 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 0 2000-01-01 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/empty_path2_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/golden/empty_path2_LSL_._testdir_path1_._testdir_path2__Path2_NEW -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 20 2002-02-02 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 20 1999-09-09 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file5.txt 5 | 20 1999-09-09 00:00:00.000000000 file6.txt 6 | 0 2000-01-01 00:00:00.000000000 file7.txt 7 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 file3.txt 5 | 20 2002-02-02 00:00:00.000000000 file4.txt 6 | 0 2000-01-01 00:00:00.000000000 file5.txt 7 | 20 1999-09-09 00:00:00.000000000 file6.txt 8 | 0 2000-01-01 00:00:00.000000000 file7.txt 9 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/mixed_diffs_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 20 2002-02-02 00:00:00.000000000 file3.txt 4 | 20 2002-02-02 00:00:00.000000000 file4.txt 5 | 20 1999-09-09 00:00:00.000000000 file5.txt 6 | 20 2002-02-02 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/golden/mixed_diffs_LSL_._testdir_path1_._testdir_path2__files_first_sync_copy_P2P1: -------------------------------------------------------------------------------- 1 | file2.txt 2 | file4.txt 3 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_first_sync/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_first_sync/modfiles/fileA.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_first_sync/modfiles/fileB.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_max_deletes_path1 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | 7 | :MSG: Delete >50% of local files 8 | :RCLONE: delete :PATH1:file1.txt 9 | :RCLONE: delete :PATH1:file2.txt 10 | :RCLONE: delete :PATH1:file3.txt 11 | :RCLONE: delete :PATH1:file4.txt 12 | :RCLONE: delete :PATH1:file5.txt 13 | 14 | :MSG: Sync should fail due to too many local deletes 15 | :RCSEXEC: :PATH1: :PATH2: 16 | :SAVELSL: Initial_fail 17 | 18 | 19 | :MSG: Change --max-delta limit to 60%, and sync should run. 20 | :RCSEXEC: :PATH1: :PATH2: --max-deletes 60 21 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_max_deletes_path1 2 | 3 | Set up with 9 files. ChangeCmds delete 5 from Path1, causing max deletes error. 4 | Run with --max-deletes 60 to allow sync. -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P2: -------------------------------------------------------------------------------- 1 | file1.txt 2 | file2.txt 3 | file3.txt 4 | file4.txt 5 | file5.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path1/initial/file8.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/initial/file9.txt: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path1/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_max_deletes_path2_force 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Delete >50% of Remote files 7 | :RCLONE: delete :PATH2:file1.txt 8 | :RCLONE: delete :PATH2:file2.txt 9 | :RCLONE: delete :PATH2:file3.txt 10 | :RCLONE: delete :PATH2:file4.txt 11 | :RCLONE: delete :PATH2:file5.txt 12 | 13 | :MSG: Sync should fail due to too many Path2 deletes 14 | :RCSEXEC: :PATH1: :PATH2: 15 | :SAVELSL: Initial_fail 16 | 17 | :MSG: Apply --force switch, and sync should run. 18 | :RCSEXEC: :PATH1: :PATH2: --force 19 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_max_deletes_path2_force 2 | 3 | Set up with 9 files. ChangeCmds delete 5 from path2, causing max deletes error. 4 | Run with --force to allow sync. -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/Initial_fail_LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file1.txt 2 | 0 2000-01-01 00:00:00.000000000 file2.txt 3 | 0 2000-01-01 00:00:00.000000000 file3.txt 4 | 0 2000-01-01 00:00:00.000000000 file4.txt 5 | 0 2000-01-01 00:00:00.000000000 file5.txt 6 | 0 2000-01-01 00:00:00.000000000 file6.txt 7 | 0 2000-01-01 00:00:00.000000000 file7.txt 8 | 0 2000-01-01 00:00:00.000000000 file8.txt 9 | 110 2000-01-01 00:00:00.000000000 file9.txt 10 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 0 2000-01-01 00:00:00.000000000 file6.txt 2 | 0 2000-01-01 00:00:00.000000000 file7.txt 3 | 0 2000-01-01 00:00:00.000000000 file8.txt 4 | 110 2000-01-01 00:00:00.000000000 file9.txt 5 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P1: -------------------------------------------------------------------------------- 1 | file1.txt 2 | file2.txt 3 | file3.txt 4 | file4.txt 5 | file5.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file3.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file4.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file5.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file6.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file6.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file7.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file7.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_max_deletes_path2_force/initial/file8.txt -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/initial/file9.txt: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_max_deletes_path2_force/modfiles/hold.txt: -------------------------------------------------------------------------------- 1 | This file prevents rclonesync from deleting empty directories. 2 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_rclone_args 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: Place a newer files on the Path1 and Path2 7 | 8 | # Must force a specific mod date since file mod data is lost through git 9 | touch :TESTCASEROOT:modfiles/* --date="2001-01-02" 10 | 11 | :RCLONE: copy :TESTCASEROOT:modfiles/file1.txt :PATH1: 12 | :RCLONE: copy :TESTCASEROOT:modfiles/file2.txt :PATH2: 13 | 14 | :RCLONE: copy :TESTCASEROOT:modfiles/file20.txt :PATH1:subdir 15 | :RCLONE: copy :TESTCASEROOT:modfiles/file21.txt :PATH2:subdir 16 | 17 | :MSG: rclonesync test run 18 | :RCSEXEC: :PATH1: :PATH2: --rclone-args --transfers 1 --syslog --timeout 0m5s --size-only 19 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_rclone_args 2 | 3 | Several args passed. --size-only changes the operations. 4 | 5 | Note that the --size-only param is honored by rclone, but not rclonesync. rclonesync copies the newer :Path2:file21.txt to :Path1:, and 6 | rlcone sync does not copy the newer :Path1:file20.txt to :Path2: 7 | (not sure why --size-only is not hornored for the ChangeCmds Copy commands) 8 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file2.txt 4 | 0 2001-01-02 00:00:00.000000000 subdir/file20.txt 5 | 0 2000-01-01 00:00:00.000000000 subdir/file21.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 0 2000-01-01 00:00:00.000000000 file2.txt 4 | 0 2001-01-02 00:00:00.000000000 subdir/file20.txt 5 | 0 2000-01-01 00:00:00.000000000 subdir/file21.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 20 2001-01-02 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | 0 2001-01-02 00:00:00.000000000 subdir/file21.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1.txt 3 | 20 2001-01-02 00:00:00.000000000 file2.txt 4 | 0 2000-01-01 00:00:00.000000000 subdir/file20.txt 5 | 0 2001-01-02 00:00:00.000000000 subdir/file21.txt 6 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P1P2: -------------------------------------------------------------------------------- 1 | file1.txt 2 | subdir/file20.txt 3 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/golden/LSL_._testdir_path1_._testdir_path2__files_copy_P2P1: -------------------------------------------------------------------------------- 1 | file2.txt 2 | subdir/file21.txt 3 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/initial/file2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/initial/file2.txt -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/initial/subdir/file21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/initial/subdir/file21.txt -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/modfiles/file2.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/modfiles/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/modfiles/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_rclone_args/modfiles/file21.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rclone_args/modfiles/file21.txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/SyncCmds.txt: -------------------------------------------------------------------------------- 1 | :MSG: test_rmdirs 2 | 3 | :MSG: Initial rclonesync --first-sync 4 | :RCSEXEC: :PATH1: :PATH2: --first-sync 5 | 6 | :MSG: 1) Delete Path1 subdir/file20.txt 7 | :RCLONE: delete :PATH1:/subdir/file20.txt 8 | 9 | :MSG: 2) rclonesync without --remove-empty-directories 10 | :RCSEXEC: :PATH1: :PATH2: 11 | 12 | :MSG: 3) Confirm subdir exists on both paths 13 | :RCLONE: lsf --dirs-only -R :PATH1: 14 | :RCLONE: lsf --dirs-only -R :PATH2: 15 | 16 | :MSG: 4) rclonesync with --remove-empty-directories 17 | :RCSEXEC: :PATH1: :PATH2: --remove-empty-directories 18 | 19 | :MSG: 5) Confirm subdir has been removed on both paths 20 | :RCLONE: lsf --dirs-only -R :PATH1: 21 | :RCLONE: lsf --dirs-only -R :PATH2: 22 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/TestDesc.txt: -------------------------------------------------------------------------------- 1 | test_rmdirs 2 | 3 | Test --remove-empty-directories logic. Without this switch the subdir should not be deleted when empty, 4 | and deleted with the switch. 5 | 6 | After the initial setup sync: 7 | 1) Delete Path1 subdir/file20.txt 8 | 2) rclonesync without --remove-empty-directories 9 | 3) Confirm subdir exists on both paths 10 | 4) rclonesync with --remove-empty-directories 11 | 5) Confirm subdir has been removed on both paths 12 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/golden/LSL_._testdir_path1_._testdir_path2__Path1: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/golden/LSL_._testdir_path1_._testdir_path2__Path1_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/golden/LSL_._testdir_path1_._testdir_path2__Path2: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/golden/LSL_._testdir_path1_._testdir_path2__Path2_NEW: -------------------------------------------------------------------------------- 1 | 110 2000-01-01 00:00:00.000000000 RCLONE_TEST 2 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (2).txt 3 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (3).txt 4 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (4).txt 5 | 0 2000-01-01 00:00:00.000000000 file1 - Copy (5).txt 6 | 0 2000-01-01 00:00:00.000000000 file1 - Copy.txt 7 | 0 2000-01-01 00:00:00.000000000 file1.txt 8 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/golden/LSL_._testdir_path1_._testdir_path2__files_delete_P2: -------------------------------------------------------------------------------- 1 | subdir/file20.txt 2 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/RCLONE_TEST: -------------------------------------------------------------------------------- 1 | This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete. 2 | -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1 - Copy (2).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1 - Copy (2).txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1 - Copy (3).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1 - Copy (3).txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1 - Copy (4).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1 - Copy (4).txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1 - Copy (5).txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1 - Copy (5).txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1 - Copy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1 - Copy.txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/file1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/file1.txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/initial/subdir/file20.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/Test/tests/test_rmdirs/initial/subdir/file20.txt -------------------------------------------------------------------------------- /Test/tests/test_rmdirs/modfiles/file1.txt: -------------------------------------------------------------------------------- 1 | This file is newer 2 | -------------------------------------------------------------------------------- /vault_rclonesync.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cjnaz/rclonesync-V2/5f69c446f78458f7b6a914192d3d1efd4d767119/vault_rclonesync.zip --------------------------------------------------------------------------------