RE: How to delete file "nul"?

2004-07-02 Thread Igor Pechtchanski
Fred, First off, . Secondly, if "rm" didn't work for the OP from the bash prompt, what makes you think it'll work from "find"? Oh, and you used the wrong "/" before the semicolon (which would thankfully make the below command invalid, because if it were

Re: How to delete file "nul"?

2004-07-02 Thread Christopher Faylor
On Fri, Jul 02, 2004 at 01:16:07PM +0200, Pfeiffer Michael wrote: >thanks a lot for the tip! > >Btw sorry for posting the question on the mailing list. There is no reason to apologize. Cygwin should not be creating files that cygwin cannot easily delete. Your question was entirely appropriate.

RE: How to delete file "nul"?

2004-07-02 Thread PLAN Frédéric URS Lyon
Hello, try this way : cd my_folder find ./ -name "nul" -exec rm {} /; Fred -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Michael Pfeiffer Envoye : vendredi 2 juillet 2004 11:29 A : [EMAIL PROTECTED] Objet : How to delete file "nul"? Hi bash allows

RE: How to delete file "nul"?

2004-07-02 Thread Pfeiffer Michael
Hi ZARAZA thanks a lot for the tip! Btw sorry for posting the question on the mailing list. Have a nice weekend, Michael -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html F

Re: How to delete file "nul"?

2004-07-02 Thread 3APA3A
Dear Michael Pfeiffer, This problem is not cygwin related. You can delete files like this by using "UNC" style of filename (this style prevents use of DOS devices and bypasses Windows 256 character limit for filename). For example, to delete file from the root of d:\ drive use del \\.\d:\n

Re: How to delete file "nul"?

2004-07-02 Thread Danilo Turina
Please search the list archives before asking for something: http://cygwin.com/ml/cygwin/2004-06/msg01235.html (it's a message of 3 days ago). Ciao, Danilo Michael Pfeiffer wrote: Hi bash allows to pipe to a file named "nul" e.g.: echo test > nul bash-2.05b$ ls -l total 1 -r