← 返回命令列表

Linux command

yadm-upgrade 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Upgrade yadm configuration

yadm upgrade

说明

yadm upgrade migrates an existing yadm installation to the layout used by the current version. In particular, it relocates the yadm repository and configuration from the legacy ~/.yadm directory to the XDG-compliant locations under $XDG_DATA_HOME/yadm and $XDG_CONFIG_HOME/yadm (typically ~/.local/share/yadm and ~/.config/yadm). It also normalizes encrypted file storage and other on-disk layouts that have changed across yadm releases. Run this once after upgrading yadm so subsequent commands find files in the expected places.

FAQ

What is the yadm-upgrade command used for?

yadm upgrade migrates an existing yadm installation to the layout used by the current version. In particular, it relocates the yadm repository and configuration from the legacy ~/.yadm directory to the XDG-compliant locations under $XDG_DATA_HOME/yadm and $XDG_CONFIG_HOME/yadm (typically ~/.local/share/yadm and ~/.config/yadm). It also normalizes encrypted file storage and other on-disk layouts that have changed across yadm releases. Run this once after upgrading yadm so subsequent commands find files in the expected places.

How do I run a basic yadm-upgrade example?

Run `yadm upgrade` in a terminal, then adjust file names, paths, flags, or remote targets for your system.