Re: how to delete file named "?'??"

2002-09-25 Thread Unix Tools

Perl script
cd to the directory where the file with this wierd name is located

write a perl script del.pl

#!/usr/bin/perl
unlink "  ?'??  ";
exit(0);

Thats it.



- Original Message - 
From: "Tomasz Koziara" <[EMAIL PROTECTED]>
To: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 06:04 PM
Subject: how to delete file named "?'??"


> Hi
> 
> How to delete file named  "  ?'??  "   ?
> This is probably trivial but I tryed and
> still cannot figure it out.
> Thanks.
> 
> Tom
> 
> 
> 
> Clearasil rozdaje 10 000 Plyt CD z hitami muzyki POP za darmo!
> Chcesz jedna, kliknij. http://a1.o2.pl/rdr.php?banner_id=625
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: how to delete file named "?'??"

2002-09-25 Thread Barry Byrne

A few things you can try:

Enclosing the file name in quotes generally works.

rm "  ?'??  "

Adding -- prevents anything further on the command line being interpreted as
a switch.

rm -- "  ?'??  "

rm -i *

Should prompt you for each file in the directory to delete. Answer no to all
bar the one you want.

Cheers,

Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

Phone:  +353 1 417 0150
Fax:+353 1 478 5544
Email:  [EMAIL PROTECTED]
Web:www.wbtsystems.com

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tomasz Koziara
> Sent: 25 September 2002 13:34
> To: freebsd-questions
> Subject: how to delete file named "?'??"
>
>
> Hi
>
> How to delete file named  "  ?'??  "   ?
> This is probably trivial but I tryed and
> still cannot figure it out.
> Thanks.
>
> Tom
>
>
> 
> Clearasil rozdaje 10 000 Plyt CD z hitami muzyki POP za darmo!
> Chcesz jedna, kliknij. http://a1.o2.pl/rdr.php?banner_id=625
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: how to delete file named "?'??"

2002-09-25 Thread Ramsey G. Brenner

> How to delete file named  "  ?'??  "   ?

rm " ?'?? "


-- 
--
Ramsey G. Brenner
[EMAIL PROTECTED]
http://rgbrenner.cjb.net/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



how to delete file named "?'??"

2002-09-25 Thread Tomasz Koziara

Hi

How to delete file named  "  ?'??  "   ?
This is probably trivial but I tryed and
still cannot figure it out.
Thanks.

Tom



Clearasil rozdaje 10 000 Plyt CD z hitami muzyki POP za darmo!
Chcesz jedna, kliknij. http://a1.o2.pl/rdr.php?banner_id=625

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message