General Settings
The General section of the Advanced Task Settings dialog contains foundational options that control how SyncFolder scans the destination, handles empty folders and Google documents, and treats online-only cloud files, junctions and symbolic links at the source. These settings apply to the task as a whole and affect every run of that task.
Settings Overview
| Setting | Type | Default |
|---|---|---|
| Scan destination on every sync | Toggle | Off |
| Don't copy empty folders | Toggle | Off |
| Skip online-only files | Toggle | Off |
| Follow junctions and symbolic links | Toggle | Off |
| Google Docs, Sheets and Slides | Select | Export to Office format |
Scan Destination on Every Sync
When this setting is off (the default), SyncFolder maintains an internal cache database for the destination location. After the first run โ or after a task reset โ the cache records which folders and files exist at the destination. Subsequent runs use this cache instead of scanning the destination again, which makes those runs significantly faster.
When this setting is on, SyncFolder performs a full scan of the destination at the start of every run. The cache is not used.
When to Use the Cache (Default โ Off)
The cache is the right choice when the destination is only ever modified by SyncFolder itself. In that situation the cache is always accurate, and using it avoids the overhead of a full destination scan on every run. This is the most common scenario for both one-way and backup tasks where the destination is a dedicated sync or backup folder.
When to Enable Scanning on Every Sync
Enable this setting when the destination may be modified outside of SyncFolder between runs โ for example, when files are manually added, deleted, or changed directly on the destination, or when another application also writes to the same location. In these cases the cache would be out of date and SyncFolder might make incorrect decisions about which files need to be copied or deleted. Scanning on every run eliminates this risk at the cost of a longer startup phase.
If the destination is modified outside of SyncFolder while the cache is active, the cache becomes stale. A stale cache can cause SyncFolder to miss changes or take incorrect actions. Either enable this setting, or reset the task after any external modification to force a fresh scan on the next run.
Resetting the cache. The cache is cleared when you reset a task. You can do this from the task action button on the Tasks Page or on the Task Status Page. After a reset, the next run always performs a full destination scan to rebuild the cache.
2-way sync tasks. This setting is not available for 2-way sync tasks. Because 2-way sync must always reconcile changes from both locations, a full scan of both sides is performed on every run.
Don't Copy Empty Folders
When this setting is off (the default), SyncFolder replicates the complete folder structure of the source to the destination, including folders that contain no files.
When this setting is on, folders that are empty โ or that contain only excluded files โ are not created at the destination. Only folders that contain at least one file that will be copied are created.
This setting is useful when a source tree contains many scaffolded or placeholder folders that have no content yet, or when file exclusion filters strip all files from certain folders, leaving them empty at the destination. Enabling this option keeps the destination clean and avoids creating a folder hierarchy with no meaningful content.
A folder is considered empty if it contains no files that pass the active file filters. A folder that contains only subfolders โ but no files at any level below it โ is also treated as empty when this setting is on.
Google Docs, Sheets and Slides
Only shown when one of the task's locations is Google Drive. "How to handle Google Docs, Sheets, Slides, Drawings and Apps Script files, which have no file content of their own."
| Option | Behaviour |
|---|---|
| Export to Office format (.docx, .xlsx, .pptx, ...) | Default. The document is exported to the matching Microsoft Office format. |
| Export to PDF | The document is exported as a PDF file. |
| Link to them (.url) | A .url shortcut is created that opens the document in the browser. |
| Don't copy them | Google documents are skipped. |
A two-way task only allows linking to them or skipping them: an exported file can't be synced back into an editable Google document. Google limits exports to 10 MB per document; larger documents are reported as too large to export.
Online-Only Files, Junctions and Symbolic Links
Folders and files at the source are not always what they seem. Cloud services such as OneDrive and Dropbox keep files that are stored online only, and Windows can make a folder point to another location (a junction, a mounted folder or a symbolic link). The two settings below control how SyncFolder handles them. Both only apply to the source of a task, and only when the source is a local or network folder.
Skip Online-Only Files
"Files of OneDrive, Dropbox and similar services whose content is stored online only are not copied, so the backup doesn't download them. A copy made earlier is kept at the destination."
When a cloud service frees up space on your PC, it keeps an online-only file in the folder, but the file's content is no longer stored locally. Reading such a file makes Windows download it first.
When this setting is off (the default), online-only files are copied like any other file. Every online-only file that has to be copied is downloaded first, which can take a long time and use a lot of disk space, especially on the first run.
When this setting is on, online-only files are not copied:
- Files that are available on this device (downloaded, or marked as Always keep on this device) are copied as usual.
- A copy of an online-only file that is already at the destination is kept. It isn't treated as deleted, not even by a mirror task.
- The skipped files are listed in the task report. The list is reported again only when it changes.
A file that is changed while it is online only, for example on another device, is not backed up until it is available on this device again. The copy at the destination keeps the version from the last time the file was copied.
2-way sync tasks. This setting is not available for 2-way sync tasks. A skipped file would look missing to the other location, which could copy over it or delete it.
Follow Junctions and Symbolic Links
"The content of junctions, mounted folders and symbolic links at the source is backed up as normal folders. A link that points into the source, into another followed link or to one of its own parent folders is not followed."
Windows can make a folder point to another location. The types you may encounter in a source folder are:
- Junctions: a folder that points to another folder on a local drive, often created with
mklink /Jto move data to another drive while keeping the original path. - Mounted folders: a drive mounted inside a folder instead of at a drive letter.
- Symbolic links: a folder that points to another folder anywhere on the system, including a network share. They are created with
mklink /D.
When this setting is off (the default), these folders are skipped. Only folders and files that are really stored inside the source are backed up.
When this setting is on, SyncFolder follows these links and backs up the content they point to. At the destination the content appears as a regular folder; no link is created there. To prevent duplicate copies and endless loops, a link is not followed when it points:
- to a folder inside the source, because that content is already backed up;
- to a folder inside a link that was already followed, or to a folder that contains it;
- to the source itself or to one of its parent folders, which would make the scan go round in circles.
Every followed and every refused link is recorded in the log file.
Broken links and disconnected drives. When a link points to a location that isn't available, for example a drive that isn't connected or a folder that was removed, the link is skipped for this run. What was backed up from it earlier is kept at the destination, and the link is listed in the task report.
With this setting on, links also appear in the subfolder selection of the task, so you can include or exclude them like any other folder.
Tip for development trees. Package managers and build tools sometimes create junctions or symbolic links to large dependency folders. Leave this setting off if you don't need that content in the backup.
2-way sync tasks. This setting is not available for 2-way sync tasks: SyncFolder would also write to and delete in the folder the link points to, which is outside the task.
Folders That Are Always Handled the Same Way
Some folders are handled the same way regardless of the settings above:
- Cloud-synced folders of OneDrive, Dropbox, Box, iCloud, Synology Drive and similar services are always backed up like normal folders. Windows marks them in a special way, but they contain real data and are not links.
- Windows compatibility folders in your user profile, such as My Documents, Application Data or Start Menu, are always skipped. They only exist so that very old programs can find your folders. Windows doesn't allow any program to open them, and their content is already backed up through the real folders, such as Documents. These folders are also not shown in the subfolder selection of a task.
Related topics: Advanced Task Settings Overview ยท Performance Settings ยท Using Filter Patterns