-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathInvoke-RsyncGoogleDrive.ps1
More file actions
47 lines (43 loc) · 944 Bytes
/
Copy pathInvoke-RsyncGoogleDrive.ps1
File metadata and controls
47 lines (43 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<#
$params = @(
"sync",
"F:\GoogleDrive\Tony",
"googledrive:/Tony",
"--drive-skip-shortcuts",
"--drive-acknowledge-abuse",
"--drive-skip-gdocs",
"--drive-skip-dangling-shortcuts",
"--fast-list",
"--suffix-keep-extension",
"--track-renames",
#"--dry-run",
"--verbose"
)
X:\Users\Tony\Downloads\rclone-v1.70.2-windows-amd64\rclone.exe $params
#>
$params = @(
"bisync",
"F:\GoogleDrive\Tony",
"googledrive:/Tony",
"--conflict-resolve", "newer",
"--conflict-loser", "delete",
"--conflict-suffix", "sync-conflict-{DateOnly}-",
"--compare", "size,modtime,checksum",
"--create-empty-src-dirs",
"--drive-skip-shortcuts",
"--drive-acknowledge-abuse",
"--drive-skip-gdocs",
"--drive-skip-dangling-shortcuts",
"--fast-list",
"--fix-case",
"--no-slow-hash",
"--suffix-keep-extension",
"--resilient",
"--recover",
#"--resync",
#"--resync-mode path1",
#"--dry-run",
"--verbose"
)
cd "F:\Program Files\rclone-v1.74.3-windows-amd64"
.\rclone.exe $params