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

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