github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_dry_run/scenario.txt (about) 1 test dry-run 2 # Two bisync runs, first with dry-run. 3 # 4 # Derived from test_changes: 5 # - New on Path2 file10 6 # - Newer on Path2 file1 7 # - New on Path1 file11 8 # - Newer on Path1 file2 9 # - Deleted on Path2 file3 10 # - Deleted on Path1 file4 11 # - Changed on Path2 and on Path1 file5 (file5r, file5l) 12 # - Newer on Path2 and deleted on Path1 file6 13 # - Newer on Path1 and deleted on Path2 file7 14 15 test initial bisync 16 bisync resync 17 18 test new on path2 - file10 19 touch-copy 2001-01-02 {datadir/}file10.txt {path2/} 20 21 test newer on path2 - file1 22 touch-copy 2001-01-02 {datadir/}file1.txt {path2/} 23 24 test new on path1 - file11 25 touch-copy 2001-01-02 {datadir/}file11.txt {path1/} 26 27 test newer on path1 - file2 28 touch-copy 2001-01-02 {datadir/}file2.txt {path1/} 29 30 test deleted on path2 - file3 31 delete-file {path2/}file3.txt 32 33 test deleted on path1 - file4 34 delete-file {path1/}file4.txt 35 36 test changed on path2 and on path1 - file5 (file5R, file5L) 37 touch-glob 2001-01-02 {datadir/} file5R.txt 38 copy-as {datadir/}file5R.txt {path2/} file5.txt 39 touch-glob 2001-03-04 {datadir/} file5L.txt 40 copy-as {datadir/}file5L.txt {path1/} file5.txt 41 42 test newer on path2 and deleted on path1 - file6 43 touch-copy 2001-01-02 {datadir/}file6.txt {path2/} 44 delete-file {path1/}file6.txt 45 46 test newer on path1 and deleted on path2 - file7 47 touch-copy 2001-01-02 {datadir/}file7.txt {path1/} 48 delete-file {path2/}file7.txt 49 50 test sync with dry-run and resync 51 bisync dry-run resync 52 copy-listings dryrun-resync 53 54 test sync with dry-run 55 bisync dry-run 56 copy-listings dryrun 57 58 test sync without dry-run 59 bisync