Files
2021-10-21 14:57:58 +08:00

16 lines
899 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 4.7 备份常见的用户配置 备份还原硬盘 MBR
有时需要对$HOME主目录下的部分软件配置压缩备份以便在另一台Deepin系统上解压还原或者格式化磁盘后恢复配置。
主目录下的配置文件默认是隐藏的,即以"."开头。显示这些隐藏文件的快捷键是Ctrl+H。
例如我会不定期压缩备份这些目录或文件:
$HOME/.config/autostart
$HOME/.config/Code/User/keybindings.json
$HOME/.config/Code/User/settings.json
$HOME/.config/google-chrome
$HOME/.config/shadowsocks-qt5
$HOME/.local/share/applications
$HOME/.local/share/fonts
$HOME/.ssh$HOME/.vscode
$HOME/.gitconfig
$HOME/.profile
俗话说“有备无患”,重要资料、配置及时备份,可以提高学习、工作效率。压缩包格式建议选择“.tar.xz”。