On 10.11.21 14:49, Corinna Vinschen via Cygwin wrote:
> On Nov 10 10:45, Mario Emmenlauer wrote:
>> Could 'rm' support removing files and folders that have a colon ':' in
>> their name? I.e. I would like that 'rm -fr' would remove a full directory
>> tree, including such folders. Currently it will correctly remove anything
>> inside such folders, but not the folder itself.
>>
>> As an example, for the following structure:
>>     C:/root/folder/C:/inside/file.txt
>>
>> When using 'rm -fr root', afterwards I have:
>>     C:/root/folder/C:
> 
> It works fine if the folder is called, say, "a:b", it just doesn't
> work for a name which looks like a drive letter "x:", apparently.

That is indeed interesting, I was not aware of it! Then maybe the
problem is not so hard to solve? That would be awesome!


> Funny.  I'm busy with non-Cygwin stuff ATM, but I'll look into it
> later.
> 
> Thanks for the report.

Thanks a lot for your support!

All the best,

    Mario Emmenlauer


--
BioDataAnalysis GmbH, Mario Emmenlauer      Tel. Buero: +49-89-74677203
Balanstr. 43                   mailto: memmenlauer * biodataanalysis.de
D-81669 München                          http://www.biodataanalysis.de/

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to