You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli/syncing.mdx
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Invoke `filen sync` to sync any locations with your Filen Drive. This is the sam
14
14
You must specify the sync pairs (`[sync pairs...]` above) as follows:
15
15
16
16
-**(central registry)**`filen sync`: Read the sync pairs from `$APP_DATA/filen_cli/syncPairs.json`.
17
-
This file must contain JSON of the type `{local: string, remote: string, syncMode: string, alias?: string, disableLocalTrash?: boolean, ignore?: string[]}[]`.
17
+
This file must contain JSON of the type `{local: string, remote: string, syncMode: string, alias?: string, disableLocalTrash?: boolean, ignore?: string[], excludeDotFiles?: boolean}[]`.
18
18
`syncMode` can be `twoWay`, `localToCloud`, `localBackup`, `cloudToLocal` or `cloudBackup` (see [here](https://blog.filen.io/how-to-desktop-client/#:~:text=for%20this%20sync.-,Sync%20Modes,-%3A) on what that means).
19
19
-**(custom registry)**`filen sync <file>`: Read the sync pairs from a custom JSON file (same type as above).
20
20
-**(aliases)**`filen sync mypair myotherpair`: Sync the sync pairs from the central registry that were given the aliases `mypair` and `myotherpair`.
@@ -25,3 +25,24 @@ You must specify the sync pairs (`[sync pairs...]` above) as follows:
25
25
-**(disable local trash)**`filen sync /local:/cloud --disable-local-trash`: Disable local trash
26
26
27
27
You can set the `--continuous` flag to keep syncing (instead of only syncing once).
0 commit comments