[luau] Re: [Lula] How do I delete a file with an illegal name

Steve Anderson andersons001 at hawaii.rr.com
Fri Mar 8 11:51:26 PST 2002


> rm -e             # obviously won't work
> rm \-e            # escaping offers no escape
> rm "-e"          # " -e is an invalid option "
> rm '-e'           # ditto
> rm `ls *e`     # with bells on

You can also use emacs in the directory mode. You edit the directory contents 
of the directory that holds the stubborn file.

enter emacs <directory_name>
then arrow to the file, and press d
then press x
then you will be prompted for file deletion

Of course there are many more operations available in the directory mode.

Steve



More information about the LUAU mailing list