Re: help rm a file




Just wanted to say I had a similar issue and this post solved my problem.

Mark

simon.green@xxxxxxx 12/Dec/2006 8:38:27 am >>>

Another technique which usually works is to get the inode number with ls
-i, then..

find . -inum NN -exec rm {} \;

--
Simon Green

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Brian Wheeler
Sent: 12 December 2006 14:26
To: aix-l@xxxxxxxxxxxxx
Subject: Re: help rm a file


On Tue, 2006-12-12 at 09:14 -0500, Miller, Dave (I.S.) wrote:
Can someone tell me how to remove this file.. thanks.

-rw-rw---- 1 root system 4958 Dec 01 14:22 -k3,3



I've tried quotes and double quotes around it. Thanks.



I believe the -- option is the one you want:

rm -- -k3,3

should do the trick.

Brian




<html><body><font face = "arial" size = "1">
DISCLAIMER: The information transmitted is intended only
for the addressee and may contain confidential,
proprietary and/or privileged material. Any
unauthorized review, distribution or other use
of or the taking of any action in reliance upon
this information is prohibited. If you received
this in error, please contact the sender and
delete or destroy this message and any copies.
</font><body></html>

Relevant Pages

  • Re: help rm a file
    ... Another technique which usually works is to get the inode number with ls ... Brian Wheeler ... I've tried quotes and double quotes around it. ...
    (AIX-L)
  • Re: Dominant 7th scales and arpeggios
    ... "Ease promotes control, which is what technique is really about... ... Stanley ... to go in file of quotes on www.rezamusic.com ...
    (rec.music.classical.guitar)