SyncFolder — Desktop User Guide
Selective File History
Selective File History lets you automatically keep up to 10 previous versions of specific files every time a sync runs. You decide which files to track using glob patterns — the same syntax used in the Filters section.
How It Works
Each time a task runs and a tracked file is about to be overwritten at the destination, SyncFolder first saves the current destination version as a historical copy before applying the update. Historical copies are stored in the same folder as the original file and follow a fixed naming convention:
<fileName>.<date>.sfhist — for example,
report.xlsx.20240315-143022.sfhist
Where <fileName> is the full original filename including its extension,
and <date> is the timestamp of the moment the copy was saved, formatted
as yyyyMMdd-HHmmss.
SyncFolder keeps a maximum of 10 historical versions per file. Once that
limit is reached, the oldest .sfhist copy is automatically deleted before the
new one is saved.
Configuring File History Patterns
File history is configured per task in Advanced Task Settings. You enter one glob pattern per line in the text box. Any file at the destination that matches one of these patterns will have its version history maintained automatically.
Glob patterns work the same way as in the Filters section. Refer to the Filters documentation for a full overview of supported pattern syntax.
Pattern examples
budget.xlsx
/budget.xlsx
*.xlsx
/*.xlsx
*.docx *.xlsx
/contracts/*
/contracts/**
/report?.xlsx
The .sfhist files are stored alongside the originals in the destination folder.
Make sure the destination location has sufficient free space when tracking large or
frequently-changing files.
Version Management
| Property | Value | Notes |
|---|---|---|
| Maximum versions kept | 10 | Oldest version is deleted automatically when the limit is reached |
| File naming | <fileName>.<date>.sfhist |
Date format: yyyyMMdd-HHmmss |
| Storage location | Same folder as the original | At the destination location |
| Cleanup trigger | On each sync run | Oldest copy removed only when the 10-version limit is exceeded |
Restoring a Previous Version
SyncFolder does not provide an in-app restore wizard. To recover a previous version,
navigate to the destination folder, locate the desired .sfhist file, and
rename it by removing the timestamp and .sfhist suffix.
- Open the destination folder where the original file is stored.
- Identify the
.sfhistcopy you want to restore — the timestamp in the filename indicates when it was saved. - Rename the file by removing the
.<date>.sfhistpart from the filename. - Confirm that the restored version looks correct before the next sync runs.
If the next sync runs before you rename the restored file, SyncFolder may overwrite it again. Pause or disable the task while restoring if needed.
Tips and Best Practices
.sfhist copies. Focus patterns on files that genuinely need version
protection, such as spreadsheets, databases, or configuration files.
reports/quarterly-*.xlsx is safer and less storage-intensive
than *.xlsx across an entire folder tree.
*.sfhist files — this would cause history copies to be deleted
during cleanup.
Last updated: May 4, 2026