Could rm remove files and folders with colon in their name?
Chris Wagner
wagnerc@plebeian.com
Wed Nov 24 15:40:36 GMT 2021
On 2021-11-10 3:39 pm, Corinna Vinschen via Cygwin wrote:
> To the contrary. The problem is the ambiguity that "X:/foo" might
> be either the absolute POSIX path $CWD/X:/foo, or the absolute DOS
> path "X:\foo". I have a patch which fixes your case, but not much
> else. The problem is that we historically allow DOS paths as input
> at all. That was a bad decision from the start, but you can't easily
> change 25 years of history...
To contribute my 2 cents, native support for DOS paths is invaluable for
me. Changeing that would break a lot of Windows/POSIX integration.
The simple fix for all weird/ambiguous names is to qualify it with
`./...`.
Thanks.
More information about the Cygwin
mailing list