filenames starting with a '-'

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: sinck@ugive.comsinckugive.com
Data:  
Oggetto: 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