This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fuss:syncthing [2015/08/20 19:40] – [Windows] office | fuss:syncthing [2022/04/19 08:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Rescanning ====== | ||
+ | |||
+ | Although syncthing has a rescan button, sometimes it is necessary to trigger a full rescan. A most common error message is the following: | ||
+ | < | ||
+ | [GRXBW] 17:53:20 INFO: Puller (folder " | ||
+ | </ | ||
+ | |||
+ | In order to do this, the '' | ||
+ | |||
+ | ^ Operating System ^ Folder Location ^ | ||
+ | | Windows | ||
+ | | Unix | '' | ||
+ | | OS X | '' | ||
+ | |||
+ | After the removal of the file, restart syncthing and it will perform a full rescan of the folders. | ||
+ | |||
+ | ====== Synchronising Home Folder ====== | ||
+ | |||
+ | The following sync patterns will prevent synchronising items that have a local state and they are best used for synchronising user home folders. | ||
+ | ===== OSX ===== | ||
+ | |||
+ | < | ||
+ | // ignore dot files | ||
+ | .** | ||
+ | // ignore folders | ||
+ | Library/** | ||
+ | Desktop/** | ||
+ | Public/** | ||
+ | Downloads/ | ||
+ | Applications/ | ||
+ | Music/ | ||
+ | AppData/** | ||
+ | </ | ||
+ | |||
+ | ===== Windows ===== | ||
+ | |||
+ | < | ||
+ | // include folders | ||
+ | !AppData | ||
+ | !Contacts | ||
+ | !Documents | ||
+ | !Favorites | ||
+ | !Music | ||
+ | !Pictures | ||
+ | !Videos | ||
+ | |||
+ | // ignore all the rest | ||
+ | * | ||
+ | </ | ||
+ | |||
+ | ====== Files that Should Not Be Synchronised ====== | ||
+ | |||
+ | The following files are junk, temporary, trash or state files that should generally not be synchronised: | ||
+ | < | ||
+ | // Firefox Downloads | ||
+ | *.part | ||
+ | // Chrome Downloads | ||
+ | *.crdownload | ||
+ | // Safari Downloads | ||
+ | *.download | ||
+ | |||
+ | // Temporary / Backup | ||
+ | *~ | ||
+ | .*.swp | ||
+ | *.pst | ||
+ | ~* | ||
+ | *.tmp | ||
+ | *.bak | ||
+ | |||
+ | // OSX | ||
+ | .DSSTORE? | ||
+ | .DS_Store | ||
+ | .Spotlight-V100 | ||
+ | .Trashes | ||
+ | .Trash | ||
+ | Icon? | ||
+ | ._* | ||
+ | .TemporaryItems | ||
+ | |||
+ | // Linux | ||
+ | .directory | ||
+ | .Trash-*. | ||
+ | |||
+ | // Windows | ||
+ | desktop.ini | ||
+ | ehthumbs.db | ||
+ | Thumbs.db | ||
+ | $RECYCLE.BIN | ||
+ | |||
+ | // BTSync | ||
+ | .sync | ||
+ | *.bts | ||
+ | *.!Sync | ||
+ | .SyncID | ||
+ | .SyncIgnore | ||
+ | .SyncArchive | ||
+ | *.SyncPart | ||
+ | *.SyncTemp | ||
+ | *.SyncOld | ||
+ | |||
+ | // Synology | ||
+ | @eaDir | ||
+ | </ | ||
+ | ====== Setting a Different Listen Address and Port ====== | ||
+ | |||
+ | A different listening address and port can be set for syncthing by editing the '' | ||
+ | |||
+ | The relevant part of code that refers to the web-interface is the following: | ||
+ | <code xml> | ||
+ | <gui enabled=" | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | where '' | ||
+ | |||
+ | ====== Limiting CPU and RAM Usage ====== | ||
+ | |||
+ | Unfortunately, | ||
+ | |||
+ | To use '' | ||
+ | <code bash> | ||
+ | brew install cpulimit | ||
+ | </ | ||
+ | |||
+ | Assuming that syncthing is already installed, you will find the launcher in '' | ||
+ | |||
+ | First, change directory to the launch file: | ||
+ | <code bash> | ||
+ | cd ~/ | ||
+ | </ | ||
+ | |||
+ | and stop syncthing by typing: | ||
+ | <code bash> | ||
+ | launchctl unload homebrew.mxcl.syncthing.plist | ||
+ | </ | ||
+ | |||
+ | Next, edit '' | ||
+ | <code bash> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | and change it to this: | ||
+ | <code bash> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | where: | ||
+ | * ''/ | ||
+ | * '' | ||
+ | |||
+ | and the rest are default launch parameters for syncthing. | ||
+ | |||
+ | |||
+ | |||
+ | |||