ti fs unpack-file-system
リモートアーカイブからローカルオーバーレイ状態を復元します。
構文
ti fs unpack-file-system
[--archive-path <string>]
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--local-root <string>]
[--mount-path <string>]
[--mount-profile <string>]
[--no-replace]
[--remote-root <string>]
[--version]
オプション
--archive-path <string>: パックされたアーカイブのパスです。--dry-run: 変更を適用せずにリクエストを検証します。--file-system-id <string>: ファイルシステムを選択します。TI_FS_FILE_SYSTEM_IDを設定することもできます。--fs-token <string>: file system トークンを設定します。省略した場合、このコマンドはTI_FS_TOKEN環境変数を使用します。どちらも指定されていない場合、このコマンドは選択した file system 用にローカルに保存されているトークンを使用します。--help: ヘルプ情報を表示します。--local-root <string>: 復元先のローカルオーバーレイルートです。--mount-path <string>: ローカルのマウントパスです。--mount-profile <string>: マウントプロファイル を選択します:coding-agent、portable、またはnone。省略した場合はnoneを使用します。--no-replace: アーカイブエントリを置き換える代わりにマージします。--remote-root <string>:--archive-pathを省略した場合、指定したルートパス配下でパックされたアーカイブを検索します。[default: /]--version: バージョン情報を表示します。
すべてのコマンドで共通のオプションについては、グローバルオプションを参照してください。
例
マウントされたワークスペースに展開する場合:
# Restore the portable archive associated with an existing mount. ti fs unpack-file-system --file-system-id <file-system-id> --mount-path /path/to/workspace置き換えを行わずに明示的なルートへ展開する場合:
# Restore missing files while preserving existing destination entries. ti fs unpack-file-system --file-system-id <file-system-id> --local-root /path/to/local-root --remote-root /workspace --mount-profile portable --no-replace