[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Deleting weird-named files



On Wednesday 06 April 2005 09:46 pm, Mike wrote:
> Ron Johnson wrote:
> > On Wed, 2005-04-06 at 12:30 -0400, Hal Vaughan wrote:
> >>On Wednesday 06 April 2005 12:17 pm, Ed Curtis wrote:
> >
> > [snip]
> >
> >>2) When all else fails, I go to the directory in Konqueror, and delete
> >> the file from Konq.  It's never failed.  I don't know if Gnome's file
> >> manager (or other file managers) will do the same, since I haven't
> >> tried.
> >
> > In this same vein, a tiny python scriptlet:
> > import os
> > os.unlink('--exclude=*.jpg')
> >
> > Perl certainly can do something similar.
>
> Wow.. doesn't this seem a little excessive?

Ya gotta understand Ron.

He's a Python evangelist -- he's tried to convert me from Perl several times 
on another mailing list.

Hal

> rm -- '--exclude=*.jpg'
>
> works fine, always. I see no reason to use perl, python, c, assembly
> language, etc to delete a file.
>
> Michael Spang



Reply to: