FinalShell旧版本迁移配置教程(只适用2.9.6以前linux,mac版本)
wntr 2019-01-19 22:58  69月前  246449 阅读 0 回复 FinalShell

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

Powered by HostBuf.com   FinalShell.com