rclone/cmd/bisync/testdata/test_max_delete_path1/scenario.txt
Ivan Andreev 940e99a929 bisync: test scenarios #5164
Co-authored-by: Chris Nelson <stuff@cjnaz.com>
2021-11-01 21:00:27 +03:00

21 lines
530 B
Text

test max-delete-path1
# - Set up with 9 files.
# - Delete 5 files from Path1, causing max-delete error.
# - Run with --max-delete=60% to allow sync.
test initial bisync
bisync resync
test delete >50% of local files
delete-file {path1/}file1.txt
delete-file {path1/}file2.txt
delete-file {path1/}file3.txt
delete-file {path1/}file4.txt
delete-file {path1/}file5.txt
test sync should fail due to too many local deletes
bisync
copy-listings initial-fail
test change max-delete limit to 60%. sync should run.
bisync max-delete=60