Jeff McAdams on 29 Jun 2007 02:00:38 -0000


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

Re: [PLUG] delete unusual file name


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 "-"
-- 
Jeff McAdams
"They that can give up essential liberty to obtain a
little temporary safety deserve neither liberty nor safety."
                                       -- Benjamin Franklin

Attachment: signature.asc
Description: OpenPGP digital signature

___________________________________________________________________________
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