mirror of
https://github.com/rclone/rclone.git
synced 2024-12-01 12:55:19 +01:00
24 lines
757 B
Plaintext
24 lines
757 B
Plaintext
|
test rclone-args
|
||
|
# Pass generic flags to rclone under test using as an example
|
||
|
# the --size-only flag, which changes the meaning of operations.
|
||
|
# Note that --size-only is honored by the rclone proper, but not bisync.
|
||
|
# Bisync copies the newer {path2/}file21.txt to {path1/}, but `rlcone sync`
|
||
|
# does not copy the newer {path1/}file20.txt to {path2/}.
|
||
|
|
||
|
test initial bisync
|
||
|
bisync resync
|
||
|
|
||
|
test place newer files on both paths
|
||
|
|
||
|
# force specific modification time since file time is lost through git
|
||
|
touch-glob 2001-01-02 {datadir/} *
|
||
|
|
||
|
copy-file {datadir/}file1.txt {path1/}
|
||
|
copy-file {datadir/}file2.txt {path2/}
|
||
|
|
||
|
copy-file {datadir/}file20.txt {path1/}subdir
|
||
|
copy-file {datadir/}file21.txt {path2/}subdir
|
||
|
|
||
|
test run bisync with custom options
|
||
|
bisync size-only
|