Selective sync can leave folders behind after their files disappear
A Nextcloud desktop user reports that deselecting folders removes synced files but leaves ignored macOS and Office files in place, so the folders remain on disk.
What someone actually noticed
A macOS user reports that after unchecking a folder in Nextcloud's Choose what to sync dialog, the client removes synced files locally but leaves ignored files such as .DS_Store, AppleDouble files and Office lock files. They found 44 unselected folders still on disk containing only ignored files and supplied steps to reproduce the behavior. The report says even files marked deletable when blocking folder removal were left behind in this selective-sync case; it does not establish whether the behavior occurs on other clients or versions.
An empty-looking local folder may therefore be mistaken for a still-synced folder, or a user may delete it without first checking what remains. The issue was open and awaiting triage when observed, with no maintainer reply or fix linked.
Read the original signal: Nextcloud desktop GitHub bug reportWays to solve it
Without new software, inspect the deselected folders in Finder with hidden files visible, compare them with the selective-sync settings, and review every leftover file before deciding whether to remove a local folder. Keep a record of exclusions so a cleanup does not touch a folder still meant to sync.
If this is a repeated administrative task, a read-only local inventory could make the comparison faster. Start with manually supplied excluded paths rather than promising automatic integration or one-click deletion.
A small app you could build
Selective Sync Residue Audit
A local, read-only audit that compares excluded sync paths with folders still on disk, shows their remaining files and offers an explicit review checklist before any manual cleanup.
Who might use it: Nextcloud desktop users and administrators managing selective sync on macOS
- Accept a chosen local sync root and an exported or manually entered list of excluded paths
- List residual folders and their file names without uploading their contents
- Flag potential hidden or ignored files for manual review
- Export a review report; do not delete or change sync settings
What to verify before building
- Reproduce the report on a disposable sync folder and check whether later client releases change the behavior.
- Ask affected administrators how often they change selective-sync selections and whether leftover folders cause a real mistake or just cosmetic clutter.
- Test whether a manually supplied exclusions list is accurate enough to distinguish residual folders from folders users intentionally keep locally.
Reality check
This is one user's report on one client setup, not evidence of a widespread defect or demand for a separate app. The desktop client may fix it directly, and a read-only audit cannot safely infer that every ignored file is disposable. Obtaining a trustworthy excluded-path list without modifying the client may be awkward; test that workflow before building.
An observation is not market validation. Check other reports and talk to the people who experience this before committing more than a tiny experiment.