Art Alexion on 29 Jun 2007 13:23:24 -0000 |
----- Original Message ---- From: Antony P Joseph <antony@panathara.org> On Thu, 2007-06-28 at 22:00 -0400, Jeff McAdams wrote: > W. Chris Shank wrote: > > ok - this is really dumb. through some erroneous scripting i ended up creating a few files that begin with a - sign. ie: -thisfilewontdelete. any clues how to delete it? > > rm -- <filename> > > the "--" tells rm to treat further arguments as file names, even if they > start with a "-" > _ if rm does not support -- , please try rm ./-filename ------------------------------------ or perhaps rm \-filename or rm "-filename" ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|