github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_resync_modes/scenario.txt (about) 1 test resync-mode 2 # Check conflict-resolution options during resync 3 # - Changed on Path2 and on Path1, and NOT identical file1 (file1r, file1l) 4 5 test changed on both paths and NOT identical - file1 (file1R, file1L) 6 touch-glob 2001-01-02 {datadir/} file1R.txt 7 copy-as {datadir/}file1R.txt {path2/} file1.txt 8 touch-glob 2001-03-04 {datadir/} file1L.txt 9 copy-as {datadir/}file1L.txt {path1/} file1.txt 10 11 test bisync run with --resync-mode=newer 12 bisync resync resync-mode=newer 13 14 test changed on both paths and NOT identical - file1 (file1R, file1L) 15 touch-glob 2001-07-23 {datadir/} file1R.txt 16 copy-as {datadir/}file1R.txt {path2/} file1.txt 17 touch-glob 2001-08-26 {datadir/} file1L.txt 18 copy-as {datadir/}file1L.txt {path1/} file1.txt 19 20 test bisync run with --resync-mode=path2 21 bisync resync resync-mode=path2 22 23 test changed on both paths and NOT identical - file1 (file1R, file1L) 24 touch-glob 2002-07-23 {datadir/} file1R.txt 25 copy-as {datadir/}file1R.txt {path2/} file1.txt 26 touch-glob 2002-08-26 {datadir/} file1L.txt 27 copy-as {datadir/}file1L.txt {path1/} file1.txt 28 29 test bisync run with --resync-mode=larger 30 bisync resync resync-mode=larger 31 32 test changed on both paths and NOT identical - file1 (file1R, file1L) 33 touch-glob 2003-07-23 {datadir/} file1R.txt 34 copy-as {datadir/}file1R.txt {path2/} file1.txt 35 touch-glob 2003-09-04 {datadir/} file1L.txt 36 copy-as {datadir/}file1L.txt {path1/} file1.txt 37 38 test bisync run with --resync-mode=older 39 bisync resync resync-mode=older 40 41 test changed on both paths and NOT identical - file1 (file1R, file1L) 42 touch-glob 2004-07-23 {datadir/} file1R.txt 43 copy-as {datadir/}file1R.txt {path2/} file1.txt 44 touch-glob 2004-07-23 {datadir/} file1L.txt 45 copy-as {datadir/}file1L.txt {path1/} file1.txt 46 47 test bisync run with --resync-mode=smaller 48 bisync resync resync-mode=smaller 49 50 test changed on both paths and NOT identical - file1 (file1R, file1L) 51 touch-glob 2005-01-02 {datadir/} file1R.txt 52 copy-as {datadir/}file1R.txt {path2/} file1.txt 53 copy-as {datadir/}file1R.txt {path1/} file2.txt 54 touch-glob 2006-03-04 {datadir/} file1L.txt 55 copy-as {datadir/}file1L.txt {path1/} file1.txt 56 copy-as {datadir/}file1L.txt {path2/} file2.txt 57 58 test bisync run with --resync-mode=path1 59 bisync resync resync-mode=path1 60 61 test no winner 62 touch-glob 2022-02-22 {datadir/} file1R.txt 63 copy-as {datadir/}file1R.txt {path2/} file1.txt 64 copy-as {datadir/}file1R.txt {path1/} file2.txt 65 touch-glob 2022-02-22 {datadir/} file1L.txt 66 copy-as {datadir/}file1L.txt {path1/} file1.txt 67 copy-as {datadir/}file1L.txt {path2/} file2.txt 68 69 test bisync run with --resync-mode=newer 70 bisync resync resync-mode=newer