babasic 0 0 0 random false 0 0 -1 false false false 25. The following shows an example of a default configuration file (IDs will differ): dbĪ directory holding the database with metadata and hashes of the filesĬurrently on disk and available from peers. The database contains the following files: index- *. home flag sets both config and database locations at the same time. The location of the database can be changed using the -data flag. Use the old default location (same as config). If ~/.local/share/syncthing exists, use that location. If $XDG_DATA_HOME is set, use $XDG_DATA_HOME/syncthing. If a database exists in the old default location, that location is The database is stored either in the same directory as the config (usually theĭefault), but may also be located in one of the following directories (Unix-like csrftokens.txtĪ list of recently issued CSRF tokens (for protection against browser cross With a custom certificate for HTTPS as desired. The certificate and key for HTTPS GUI connections. The device’s ECDSA public and private key. In this directory the following files are (Unix-like), $HOME/Library/Application Support/Syncthing (Mac), The config location defaults to $HOME/.config/syncthing Syncthing also has a database, which is often stored in this directory too. Syncthing uses a single directory to store configuration and crypto keys. Previously the database wasĪlways located in the same directory as the config. We recommend to restart Sync if you want to apply changes in the IgnoreList immediately.New in version 1.5.0: Database and config can now be set separately. Sync re-reads IgnoreList every time it is changed or (if system notifications are not coming for some reason) every folder_rescan_interval. It means that if you create or edit your IgnoreList file after the directory was added to Sync, the folder structure will always be fully synced, however, actual files / folders added to the ignore list will not be passed to other peers. ![]() Timings and delays Once Sync has scanned and indexed the directory tree of a sync folder, all the structural info is going to be stored in its database and always passed to other peers (until you disconnect the sync folder). ![]() It will not work with files that have already been synced. Note: the IgnoreList is applied to the folder where it is contained and its subfolders. So please do not forget to use “/“ for Mac and unix-based OSes, while for Windows OSes use “\”. ![]() When composing a filter consisting of 2 or more components, note that path delimiters are OS-dependent and not universal. For example, a/**/bįilter will ignore folders a/b, a/x/b, a/x/y/b and so on. \FOO //will not be synced, ignored by FOO\*ĭouble asterisk allows to ignore any amount of subfolders between root folder and target folder. ![]() With the above mentioned ignore lines, the following folder structure will behave this way \ABC //wil be syncedĬDE F //will not be synced, ignored by ABC\CDE Fįilename.pdf //will not be synced, ignored by *.pdf Important: on UNIX-based systems use "/" as a path separator.
0 Comments
Leave a Reply. |