[CentOS] command line escaping a dash

Filipe Brandenburger filbranden at gmail.com
Mon Oct 20 16:39:27 UTC 2008

The right answer is using -- to stop handling command line arguments.
There is another trick that might help to do it too: using "./" in
front of the filename the filename.

# chown Administrator './-BILLED JOBS - 1997-2002' -R

This should work.


More information about the CentOS mailing list