DragonFly BSD
DragonFly users List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: How to delete files starting with "-"?


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Wed, 06 Sep 2006 16:32:34 +0200
Mail-followup-to: users@crater.dragonflybsd.org

On Thu, Sep 07, 2006 at 12:07:52AM +1000, Petr Janda wrote:
> Is it possible? How? Ive been trying to figure out.

rm -- -foo

Any tool using getopt(3) supports '--' to annotate the end of arguments.

Joerg



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