-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create initial prototype #4
Comments
atc0005
added a commit
that referenced
this issue
Sep 13, 2019
This initial prototype supports: - Matching on specified file patterns - Flat (single-level) or recursive search - Keeping a specified number of older or newer matches - Limiting search to specified list of extensions - Toggling file removal (read-only by default) - Go modules (vs classic GOPATH setup) refs #2, #4, #6
Initial support for command-line flags will be included in v0.1, but (planned) refined in v0.2 per further work on #2. At this point I'll cleanup/rebase the |
atc0005
added a commit
that referenced
this issue
Sep 17, 2019
This initial prototype supports: - Matching on specified file patterns - Flat (single-level) or recursive search - Keeping a specified number of older or newer matches - Limiting search to specified list of extensions - Toggling file removal (read-only by default) - Go modules (vs classic GOPATH setup) refs #2, #4, #6
atc0005
added a commit
that referenced
this issue
Sep 18, 2019
This initial prototype supports: - Matching on specified file patterns - Flat (single-level) or recursive search - Keeping a specified number of older or newer matches - Limiting search to specified list of extensions - Toggling file removal (read-only by default) - Go modules (vs classic GOPATH setup) refs #2, #4, #6
atc0005
added a commit
that referenced
this issue
Sep 18, 2019
This initial prototype supports: - Matching on specified file patterns - Flat (single-level) or recursive search - Keeping a specified number of older or newer matches - Limiting search to specified list of extensions - Toggling file removal (read-only by default) - Go modules (vs classic GOPATH setup) - Brief overview, examples for testing purposes refs #2, #4, #6
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The idea is to either use hard-coded settings or the standard library to support basic options via positional command-line arguments.
The core concept is an app that can be pointed at a target directory and allowed to recursively prune all files matching specific patterns.
Those patterns can be any of:
.tmp
)The idea is that this tool would be called by a cron job or as needed as a one-shot run to perform cleanup work.
The text was updated successfully, but these errors were encountered: