-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rm: On Windows, rm -rf * doesn't do anything. #1274
Comments
This is probably due to Windows shells not expanding globs. I’m not sure if we should expand the globs ourselves on Windows or just leave the behavior as is. It should at least return an error on the glob right now because it’s not being expanded, so that is an issue. |
This bugged me as well. So, I fixed it. With just a small set of changes, localized to 'uucore', I was able to add command line globbing for windows targets to all the utilities. I've just opened PR#1281 with the patches. |
Fixed in PR#1281. |
Thanks for reminding me! |
Actually, one problem with #1281 is that it doesn't use similar globbing rules. For instance, it unexpectedly deletes hidden directories, like |
@TheGoddessInari yeah, that is definitely an issue. I also just noticed that |
It doesn't return an error, but also doesn't remove any files or directories.
The text was updated successfully, but these errors were encountered: