Skip to main content

クライアントコマンド(hmv)

hmvコマンドは、リモート(サーバ、hcpdサーバ)上でファイルもしくはディレクトリを移動するコマンドです。

基本書式#

Usage: hmv [OPTION]... [USER@]HOST[:PORT]:SOURCE :DEST   or: hmv [OPTION]... [USER@]HOST[:PORT]:SOURCE [:SOURCE]... :DIRECTORY   or: hmv [OPTION]... --host=HOST [--port=PORT] [--user=USER] SOURCE DEST   or: hmv [OPTION]... --host=HOST [--port=PORT] [--user=USER] SOURCE... DIRECTORY

オプション一覧#

hmvコマンドのオプションは以下の通りです。

ファイル移動

説明短縮名オプション名
確認プロンプトを表示せずに移動先の上書きfforce
移動先の上書き前に確認プロンプト表示iinteractive
移動先の上書き禁止Nno-overwrite
接続先リモートホストの指定host
接続先リモートホストのサービスポート指定port

通信方式選択機能

説明短縮名オプション名
HpFPプロトコルの使用hpfp
WebSocketプロトコル(SSL/TLS)の使用wss
ポート分離型UDP (HpFP)プロトコルの使用(廃止予定)udp
WebSocketプロトコル(平文通信)の使用ws
プロキシ直接接続指定(WebSocketプロトコル使用時)ws-proxy-direct
プロキシサーバの指定(WebSocketプロトコル使用時)ws-proxy

輻輳制御

説明短縮名オプション名
輻輳制御モードの指定(HpFPプロトコル使用時)hpfp-cong

データフロー制御・通信メッセージサイズ制御

説明短縮名オプション名
MSS(Maximum Segment Size)の指定(HpFPプロトコル使用時)hpfp-mss

データフロー制御・データバッファ設定

説明短縮名オプション名
送信バッファサイズの指定(HpFPプロトコル使用時)hpfp-sndbuf
受信バッファサイズの指定(HpFPプロトコル使用時)hpfp-rcvbuf

認証

説明短縮名オプション名
サーバ証明書の検証無効化(WebSocket(SSL/TLS)通信時)wss-no-check-certificate
ユーザ名を先に指定して移動user
パスワードを先に指定してディレクトリ移動password

各種監視機能

説明短縮名オプション名
調査モード起動(廃止予定)investigation

ログ管理機能

説明短縮名オプション名
アプリケーションログの出力先指定log-file
各種統計ログの出力先指定stat-log-file
実行記録の出力先指定hcp-out
多重起動モードで起動multi-run

ソフトウェアの情報確認

説明短縮名オプション名
バージョン確認Vversion
入力パラメータ及び設定情報確認config-test
コマンドヘルプの表示hhelp

システム動作環境設定

説明短縮名オプション名
設定ファイルのパス指定config-file
設定項目上書き指定config-option
実行ディレクトリからの相対パスでIncludeinclude-conf-from-cwd
サーバ互換対応無効化no-earlier-serv-compat

次のオプションはhcpdコマンドの説明をご参照ください。

--investigation

次のオプションはhcpコマンドの説明をご参照ください。

--hpfp, --wss, --user, --password, --config-file, --config-option, --log-file, --stat-log-file, --udp, --ws, --wss-no-check-certificate, --ws-proxy-direct, --ws-proxy, --hpfp-cong, --hpfp-mss, --hpfp-sndbuf, --hpfp-rcvbuf, --multi-run, --include-conf-from-cwd, --no-earlier-serv-compat

ファイル移動#

f, force#

=========================================================================対応OS : Linux / Windows / Mac書式 : -f | --force=========================================================================

移動先にファイルもしくはディレクトリが存在する場合に上書きします。

--例:[user@localhost ~]$ hmv -f ...--

i, interactive#

=========================================================================対応OS : Linux / Windows / Mac書式 : -i | --interactive=========================================================================

移動先にファイルもしくはディレクトリが存在する場合に上書するか確認します。

--例:[user@localhost ~]$ hmv -i ...--

N, no-overwrite#

=========================================================================対応OS : Linux / Windows / Mac書式 : -N | --no-overwrite=========================================================================

移動先にファイルもしくはディレクトリが存在する場合に上書せずにスキップします。

--例:[user@localhost ~]$ hmv -N ...--

host#

=========================================================================対応OS : Linux / Windows / Mac書式 : --host=<remote-host>-------------------------------------------------------------------------remote-host既定値 : なし値の範囲 : IPアドレス もしくは ホスト名=========================================================================

接続先のリモートホストを指定します。移動元と移動先を指定するパスに適用されます。このパラメータを指定した場合、このパスのホスト名を省略することができます。

--例:[user@localhost ~]$ hmv --host=192.168.100.100 ...--

port#

=========================================================================対応OS : Linux / Windows / Mac書式 : --port=<remote-port>-------------------------------------------------------------------------remote-port既定値 : なし値の範囲 : ポート番号=========================================================================

接続先のリモートホストのサービスポート番号を指定します。移動元と移動先を指定するパスに適用されます。

--例:[user@localhost ~]$ hmv --port=1874 ...--

ログ管理機能#

hcp-out#

=========================================================================対応OS : Linux / Windows / Mac書式 : --hcp-out=<output-path>-------------------------------------------------------------------------output-path既定値 : なし値の範囲 : ファイルシステムのパス文字列=========================================================================

ファイルもしくはディレクトリの移動の実行記録を出力するファイルを指定します。

--例:[user@localhost ~]$ hmv --hcp-out=- ...SRC0 127.0.0.1:1874:/home/user/Desktop/hcp_hmv01.txtSRC1 127.0.0.1:1874:/home/user/Desktop/hcp_hmv02.txtDST 127.0.0.1:1874:/home/user/Desktop/hcp_hmv_dirOK 0000 FM 00000001 /home/user/Desktop/hcp_hmv01.txtOK 0000 FM 00000002 /home/user/Desktop/hcp_hmv02.txtEXIT 0 REASON 0000[user@localhost ~]$ --
--例:[user@localhost ~]$ hmv --hcp-out=- ...--

ソフトウェアの情報確認#

V, version#

=========================================================================対応OS : Linux / Windows / Mac書式 : -V | --version=========================================================================

hmvコマンドのバージョンを表示します。

--例:[user@localhost ~]$ hmv -Vhmv client (hmv) 1.4.9_5 / Linux (HpFP2 2.0.0.91_21 WSAPI 0.0.1.34 WS 4.2.0-2)--

config-test#

=========================================================================対応OS : Linux / Windows / Mac書式 : --config-test=========================================================================

hmvコマンドの入力パラメータ及び設定情報を出力します。

--例:[user@localhost ~]$ hmv --config-test...
Number of Logical Processors  : 2Number of Physical Processors : 2
Command parameters force     : disable interactive     : disable no-overwrite     : disable host     : disable port     : disable user           : disable password       : disable version        : disable help           : disable
Target source:
Target destination:
Configuration parameters PubkeyAuthentication             : yes WinLogonUserAuthentication       : yes PAMAuthentication                : yes LocalPasswordAuthentication      : yes CompressLevel                    : -1 StrictHostKeyChecking            : ask PrivateKeyFile                   : - [~/.hcp/id_rsa] TransportTimeout                 : 180 AcceptableCryptMethod            : AES256/GCM AES256/CTR/VMAC AES256/CBC AES128/CBC [Intel:AES-NI=yes] AcceptableDigestMethod           : XXH3 SHA256 SHA160
Please type '--config-test --config-test ...' for more details.--

h, help#

=========================================================================対応OS : Linux / Windows / Mac書式 : -h | --help=========================================================================

hmvコマンドのヘルプを表示します。

--例:[user@localhost ~]$ hmv -h--