filenames starting with a '-'

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: sinck@ugive.com
Datum:  
Onderwerp: 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