] la part de Michael Pfeiffer
> Envoye : vendredi 2 juillet 2004 11:29
> A : [EMAIL PROTECTED]
> Objet : How to delete file "nul"?
>
> Hi
>
> bash allows to pipe to a file named "nul" e.g.:
> echo test > nul
>
> bash-2.05b$ ls -l
> total 1
&
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.
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 &q
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
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
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
Hi
bash allows to pipe to a file named "nul" e.g.:
echo test > nul
bash-2.05b$ ls -l
total 1
-rwxrwxrwx1 pfeiffer mkgroup-4 Jul 2 10:00 nul
The problem is that this file can not be deleted.
I was not able to delete it using the "rm" command in
bash, or "del" in a windows command lin
7 matches
Mail list logo