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

Re: ftp -problem



On Wed, Jun 05, 2002 at 04:23:38PM -0400, Donald  wrote:
> I accidently ftped a file and named it with a - in front of it , now I
> cannot rename it because all the commands think it is a option, how
> would I rename it.

Most *nix commands grok the "--" option, which says there are no more
options after this.  So you can say

 rm -- -foobar

to remove "-foobar"

Another way is to bring up Midnight Commander (mc) and it gives you a
list of files to operate on.

Cheers,
-- 
Bob McClure, Jr.            | "Surely you can't be serious."
Bobcat Open Systems, Inc.   | "I am serious, and stop calling me Shirley."
robertmcclure earthlink net |        -- "Airplane"





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