Skip to content
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

consider dropping -r option #35

Open
garlick opened this issue Jul 31, 2023 · 1 comment
Open

consider dropping -r option #35

garlick opened this issue Jul 31, 2023 · 1 comment

Comments

@garlick
Copy link
Member

garlick commented Jul 31, 2023

Problem: the -r option causes a file to be removed after scrubbing, but this action is ambigous when scrubbing a symlink (do you remove the link, the target, both)?

Rather than guess what the user wants, maybe just let them remove their own files? How hard is that.

@pete4abw
Copy link
Contributor

In my PR #33 , both are removed. Currently, scrub will follow the link, scrub the target, but it will remove only the link! This is weird. Also with -D, it will rename the link, not the target. -r is useful for removing traces of the scrub.

But I won't cry or argue if both disappear. After all, anyone using this application had BETTER know what he/she is doing! ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants