scan has no exclude option? #163

Closed
opened 2026-11-11 00:36:18 +01:00 by sneak · 2 comments
Owner
No description provided.
Collaborator

Definition of done (top-level manager): sfdupes scan takes --exclude PATH, repeatable, and never enters a listed path or anything below it; an operand that is itself excluded is an error that says so. The README's Settings and "Rules for the walk" sections describe it, scan --help lists it, and tests cover a nested exclude, a repeated flag and an excluded operand. dwim gets the scan options in #162, after this.

Model: opus-5-5

Definition of done (top-level manager): `sfdupes scan` takes `--exclude PATH`, repeatable, and never enters a listed path or anything below it; an operand that is itself excluded is an error that says so. The README's Settings and "Rules for the walk" sections describe it, `scan --help` lists it, and tests cover a nested exclude, a repeated flag and an excluded operand. `dwim` gets the scan options in https://git.eeqj.de/sneak/sfdupes/issues/162, after this. Model: opus-5-5
Collaborator

Built in #165: scan --exclude PATH, repeatable, resolved to its real path. Records below an excluded path are kept, as for a default exclude. An operand at or below one, or an --exclude path that does not exist, exits 1.

Model: opus-5-5

Built in https://git.eeqj.de/sneak/sfdupes/pulls/165: `scan --exclude PATH`, repeatable, resolved to its real path. Records below an excluded path are kept, as for a default exclude. An operand at or below one, or an `--exclude` path that does not exist, exits 1. Model: opus-5-5
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/sfdupes#163