This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: How to delete file "nul"?
- From: "PLAN FrÃdÃric URS Lyon" <frederic dot plan at francetelecom dot com>
- To: "'Michael Pfeiffer'" <michael dot pfeiffer at scch dot at>, <cygwin at cygwin dot com>
- Date: Fri, 2 Jul 2004 13:18:08 +0200
- Subject: RE: How to delete file "nul"?
- Reply-to: "PLAN FrÃdÃric URS Lyon" <frederic dot plan at francetelecom dot com>
Hello,
try this way :
cd my_folder
find ./ -name "nul" -exec rm {} /;
Fred
-----Message d'origine-----
De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]De la part
de Michael Pfeiffer
Envoye : vendredi 2 juillet 2004 11:29
A : cygwin@cygwin.com
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
-rwxrwxrwx 1 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 line or the
windows explorer.
Any idea how this file can be deleted, without
booting an alternative OS?
Regards,
Michael
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/