-
Notifications
You must be signed in to change notification settings - Fork 570
Open
Description
Tool Description
syncthing-dir-time-fixer - Automatically fixes directory modification times after Syncthing sync to show actual content modification times instead of sync times.
Repository: https://github.com/halapenyoharry/syncthing-dir-time-fixer
Features
- Monitors Syncthing Event API for sync completion
- Updates directory mtimes to match their newest file
- Cross-platform (Linux, macOS, Windows with WSL)
- Runs as system service (systemd/launchd)
- Memory-efficient with leak prevention
- Configurable delays and exclusions
Why It's Useful
While Syncthing deliberately doesn't sync directory timestamps (see syncthing/syncthing#3667), many users want to see when work was actually done, not when it was synced. This tool fills that gap without modifying Syncthing itself.
Event API Usage Example
This tool demonstrates proper Event API usage:
- Long polling for events
- Handling FolderCompletion events
- Memory management for long-running processes
- Proper session cleanup
Documentation
Could be added to:
- Community Contributions page
- Event API examples
- Third-party tools section
The tool respects Syncthing's design decisions while providing an optional enhancement for users who need it.
Metadata
Metadata
Assignees
Labels
No labels