github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_max_delete_path2_force/scenario.txt (about)

     1  test max-delete-path2-force
     2  # - Set up with 9 files.
     3  # - Delete 5 files from *Path2*, causing max-delete error.
     4  # - Run with --force to allow sync.
     5  
     6  test initial bisync
     7  bisync resync
     8  
     9  test delete >50% of remote files
    10  delete-file {path2/}file1.txt
    11  delete-file {path2/}file2.txt
    12  delete-file {path2/}file3.txt
    13  delete-file {path2/}file4.txt
    14  delete-file {path2/}file5.txt
    15  
    16  test sync should fail due to too many path2 deletes
    17  bisync
    18  copy-listings initial-fail
    19  
    20  test apply force option. sync should run.
    21  bisync force