[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stubbern Directory
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Stubbern Directory
- From: Julian Smith <julian_(_at_)_juliansmith_(_dot_)_net>
- Date: Sun, 16 Mar 2003 13:33:12 +0000 (UTC)
Due to a typing error (slip of the finger) I have ended up creating a
directory called -k (doh!!)
rmdir "-k"
# rmdir "-k"
rmdir: illegal option -- k
usage: rmdir [-p] directory ...
I cannot delete it because get error -k is not an option
cannot mv "-k" delete-me
# mv "-k" delete-me-now
mv: illegal option -- k
usage: mv [-fi] source target
mv [-fi] source ... directory
As far as i can tell this file will not go away unless I newfs the file
system and restore the files without the "-k" directory from a system
dump which is what i'm proceeding to do.
Is this the only way?
Julian Smith (julian_(_at_)_juliansmith_(_dot_)_net)
Visit your host, monkey.org