removing a file with hyphens

McGlinchy, Alistair Alistair.McGlinchy at marks-and-spencer.com
Thu Jun 7 17:42:56 BST 2007


Matt Wilson wrote:
> If you really need to get that file I'd recommend:
> 
> $ rm -rf *
> 
> It's the only surefire way.

<PEDANT_MODE = ON> 

Surefire?  Not with my silly log files. :-) 
 
[flows at flow] /flow/logs/ft_process% rm -rf *
bash: /usr/bin/rm: The parameter or environment lists are too long.
[flows at flow] /flow/logs/ft_process% ls | wc
   97959   97959 4700375

</PEDANT_MODE>

Cheers

Alistair

**********************************************************************
Registered Office:
Marks and Spencer plc
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

<<www.marksandspencer.com>>

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful.
2005





More information about the london.pm mailing list