Re: Accented chars in filenames issue
On 25/06/11 16:22, Ralf Mardorf wrote:
>
>>> To give a silly example, a file named "-rf *" or "rm -rf *"
>>
>> I defy you to create a file with those name ;-p
>> NOTE: I've tried. No point in it just being an untested opinion.
>
> $ echo test > *
> bash: *: ambiguous redirect
>
> $ echo test > \*
> $ ls
> * Desktop Downloads hdsp.1
>
> Any idea how I can get rid of the file named *?
>
> :D
>
> Ralf
>
>
Have you tried ?:-
# rm * > nul
Sorry couldn't resist. :-D
$ rm "*"
Cheers
--
I'm tired of this back-slapping "Isn't humanity neat?" bullsh#t. We're a
virus with shoes, okay? That's all we are.
~ Bill Hicks
Reply to: