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

Add the --one-file-system flag #2

Open
ericcornelissen opened this issue Apr 24, 2023 · 0 comments
Open

Add the --one-file-system flag #2

ericcornelissen opened this issue Apr 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ericcornelissen
Copy link
Owner

ericcornelissen commented Apr 24, 2023

Feature Request

Summary

Add a flag similar to the rm(1) --one-file-system flag. Per the rm(1) options documentation:

       --one-file-system
              when removing a hierarchy recursively, skip any directory
              that is on a file system different from that of the
              corresponding command line argument

This would help improve the safety of this implementation of rm. As of writing, it's to be decided if instead the default behavior should be to enable this flag and provide a flag to disable this behavior.

@ericcornelissen ericcornelissen added the enhancement New feature or request label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant