RE: can't delete file!

RE: can't delete file!

 

  

Actually I stand corrected. In SOME UNIX, even the escape "\" will not
work. You can do an "ls -il" to find the inode and then delete using
find . -inum _the_inode_num -exec rm -i {} \;

Mike

>>> "Michael Porter "
<oracledba-ezmlmshield-x56568257.[Email address protected] 04/05/05 11:48
AM >>>
Nope. That will NOT work.

Try doing:

> "-C"
ls -l *C

That will give you more files than you want. You must escape the "-"
with the "\", and you should always add the "-i" flag with the rm just
to be sure...

M

>>> "henry Wollman "
<oracledba-ezmlmshield-x93475061.[Email address protected] 04/05/05
11:34
AM >>>
try: rm *C

But make sure with an ls *C first that it will be the only file
removed.


| Henry A.L. Wollman Rejoice and be glad!
|_____________________________________________________
| Moody Bible Institute, Database Administrator, [Email address
protected]
| 820 N. LaSalle Blvd, Chicago, IL 60610 312-329-2291
|_____________________________________________________
-----Original Message-----
From: Declan Heerey
[mailto:oracledba-ezmlmshield-x27251514.[Email address protected]
Sent: Tuesday, April 05, 2005 7:18 AM
To: LazyDBA Discussion
Subject: RE: can't delete file!

try renaming the file

-----Original Message-----
From: Ivo Peksens
[mailto:oracledba-ezmlmshield-x9298223.[Email address protected]
Sent: 05 April 2005 12:21
To: LazyDBA Discussion
Subject: can't delete file!


Hello!

Does anyone know how to delete in Solaris a file named like "-C".
I mean rm command does not see it!

Thanks



Ivo Peksens
ivo.[Email address protected]
2005-04-05 14:18:36



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com

_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com


--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html


Oracle LazyDBA home page