filenames starting with a '-'

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: sinck@ugive.com
日付:  
題目: 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