filenames starting with a '-'

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: sinck@ugive.comsinckugive.com
Data:  
Temat: filenames starting with a '-'

\_ There's a couple different ways to do it:
\_
\_ 1) cp -- -001 /wherever
\_ or
\_ 2) cp ./-001 /whereever

3) cp ?001 /wherever
4) cp *01 /wherever

shell expansions/wildcards are your friends.

\_ The same format should work with rm and mv too.

YMMV on different unices passing a --

David