Antony P Joseph on 29 Jun 2007 02:09:49 -0000 |
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 With regards Antony > __________________________________________________________________________ > 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 ___________________________________________________________________________ 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
|
|