On Mon, Nov 28, 2011 at 11:28 AM, Smith, David W. wrote:
> You could list by inode, then use find with rm.
>
> # ls -i
> 7223 -O
>
> # find . -inum 7223 -exec rm {} \;
This is the one solution I'd recommend against, since it would remove
hardlinks that you might care about.
Also, this thread is
You could list by inode, then use find with rm.
# ls -i
7223 -O
# find . -inum 7223 -exec rm {} \;
David
On 11/23/11 2:00 PM, "Jason King (Gmail)"
wrote:
> Did you try rm -- filename ?
>
> Sent from my iPhone
>
> On Nov 23, 2011, at 1:43 PM, Harry Putnam wrote:
>
>> Somehow I touched som
Did you try rm -- filename ?
Sent from my iPhone
On Nov 23, 2011, at 1:43 PM, Harry Putnam wrote:
> Somehow I touched some rather peculiar file names in ~. Experimenting
> with something I've now forgotten I guess.
>
> Anyway I now have 3 zero length files with names -O, -c, -k.
>
> I've tri
On 11/26/2011 5:30 AM, Brandon High wrote:
On Wed, Nov 23, 2011 at 11:43 AM, Harry Putnam wrote:
OK, I'm out of escapes. or other tricks... other than using emacs but
I haven't installed emacs as yet.
I can just ignore them of course, until such time as I do get emacs
installed, but by now I
[...]
Harry wrote:
>> rm \-c
>> rm: illegal option -- c
>> usage: rm [-fiRr] file ...
>>
>> Ditto for:
>>
>> [\-]c
>> '-c'
>> *c
>> '-'c
>> \075c
>>
>> OK, I'm out of escapes. or other tricks... other than using emacs but
>> I haven't installed emacs as yet.
>>
>> I can just ignore them
On Wed, Nov 23, 2011 at 11:43 AM, Harry Putnam wrote:
> OK, I'm out of escapes. or other tricks... other than using emacs but
> I haven't installed emacs as yet.
>
> I can just ignore them of course, until such time as I do get emacs
> installed, but by now I just want to know how it might be don
+--
| On 2011-11-23 13:43:10, Harry Putnam wrote:
|
| Somehow I touched some rather peculiar file names in ~. Experimenting
| with something I've now forgotten I guess.
|
| Anyway I now have 3 zero length files with name
On Wed, Nov 23, 2011 at 14:43, Harry Putnam wrote:
> Somehow I touched some rather peculiar file names in ~. Experimenting
> with something I've now forgotten I guess.
>
> Anyway I now have 3 zero length files with names -O, -c, -k.
>
> I've tried as many styles of escaping as I could come up wit
Somehow I touched some rather peculiar file names in ~. Experimenting
with something I've now forgotten I guess.
Anyway I now have 3 zero length files with names -O, -c, -k.
I've tried as many styles of escaping as I could come up with but all
are rejected like this:
rm \-c
rm: illegal opt