Linux版本
迁移配置
cd /usr/lib/finalshelldata/
sudo mkdir /home/$USER/.finalshell/
sudo mkdir /home/$USER/.finalshell/conn
sudo mv config.json  /home/$USER/.finalshell/
sudo mv fileattribute.json  /home/$USER/.finalshell/
sudo mv tconfig.json  /home/$USER/.finalshell/
sudo mv ClientConfig.xml  /home/$USER/.finalshell/
sudo mv cnf/*  /home/$USER/.finalshell/cnf
sudo mkdir -p /Users/$USER/Library/FinalShell/conn
sudo mv conn/*  /home/$USER/.finalshell/conn
sudo chown -R $USER:$USER /home/$USER/.finalshell/
sudo chown -R $USER:$USER /home/$USER/fsdownload/

#删除旧版文件(确认迁移成功后再删除)
sudo rm -rf /usr/lib/finalshelldata/

Mac版
迁移配置
cd /Applications/finalshelldata
sudo mkdir /Users/$USER/Library/FinalShell
sudo mv config.json  /Users/$USER/Library/FinalShell/
sudo mv fileattribute.json  /Users/$USER/Library/FinalShell/
sudo mv tconfig.json  /Users/$USER/Library/FinalShell/
sudo mv ClientConfig.xml  /Users/$USER/Library/FinalShell/
sudo mv cnf/*  /Users/$USER/Library/FinalShell/cnf
sudo mkdir -p /Users/$USER/Library/FinalShell/conn
sudo mv conn/*  /Users/$USER/Library/FinalShell/conn/
sudo chown -R $USER /Users/$USER/Library/FinalShell/
sudo chown -R $USER /Users/$USER/fsdownload

#删除旧版文件(确认迁移成功后再删除)
sudo rm -rf /Applications/finalshelldata
sudo rm -rf /Applications/FinalShell

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。