in Solaris and most unix flavors if you cd up one level and use
rm <dir-name>/-C
This works for the root "/" directory as well... rm /-C
--Garry
-----Original Message-----
From: Karl Cooksley
[mailto:oracledba-ezmlmshield-x70434348.[Email address protected]
Sent: Tuesday, April 05, 2005 10:26 AM
To: LazyDBA Discussion
Subject: RE: can't delete file!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please read the disclaimer at the bottom of this e-mail.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Try rm -i *
The say no to everything except for the file(s) you wish to delete.
Karl
-----Original Message-----
From: James
[mailto:oracledba-ezmlmshield-x92061217.[Email address protected]
Sent: 05 April 2005 16:37
To: LazyDBA Discussion
Subject: RE: can't delete file!
rm "-C"
or
rm '-C'
might work.
James E. Strange
Database Systems Consultant Wellpoint IT
Office (317) 287-5423 Fax (317) 287-5428
Home 317 253-6154 Cell (317) 402-1742
Oracle Certified Professional DBA
"henry Wollman "
<oracledba-ezmlmshield-x93475061.[Email Address Removed] To: "LazyDBA Discussion" <[Email address protected]
azyDBA.com> cc:
Subject: RE: can't delete file!
04/05/2005 10: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
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain confidential
and privileged information or otherwise protected by law. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies of the original message.
--------
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 email is intended for the named recipient(s) only. Its contents
are confidential and may only be retained by the named recipient(s)
and may only be copied or disclosed with the consent of
LCH.Clearnet Limited. If you are not an intended recipient please
delete this e-mail and notify [Email address protected]
The contents of this email are subject to contract in all cases,
and LCH.Clearnet Limited makes no contractual commitment save where
confirmed by hard copy. LCH.Clearnet Limited accepts no liability,
including liability for negligence, in respect of any statement in
this email.
LCH.Clearnet Limited, Registered Office: Aldgate House,
33 Aldgate High Street, London EC3N 1EA. Recognised as a Clearing
House under the Financial Services & Markets Act 2000. Reg in England No.25932
Telephone: +44 20 7426 7000 Internet: http://www.lchclearnet.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
Oracle LazyDBA home page