[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkdir
From: |
Bob Proulx |
Subject: |
Re: mkdir |
Date: |
Fri, 5 Apr 2002 17:34:21 -0700 |
> rmdir and mkdir do not work well on directory's that start with '-'
> (please do not blame me if files starting with - should not exist
> because it is not standard)
> drwxr-xr-x 2 sax users 1024 Apr 5 17:06 -=3D bar =3D-
> [17:10:01] swamp% rmdir -=3D\ bar\ =3D- ~/foo
> rmdir: invalid option -- =3D
> Try `rmdir --help' for more information.
Check out the FAQ:
http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html#I%20have%20a%20file%20called%20'--help'
Basically:
rmdir ./-foo
rmdir -- -foo
Bob
- mkdir, Wouter de Vries, 2002/04/05