git clone https://github.com/YangRucheng/Config-Backup.git temp-dir # 克隆仓库
rm -rf temp-dir/.git # 删除Git文件夹
find temp-dir -name "*.md" -exec rm -f {} \; # 删除多余文件
mv temp-dir/.* temp-dir/* . 2>/dev/null # 移动到当前目录
rm -r temp-dir # 删除临时目录
-
Notifications
You must be signed in to change notification settings - Fork 0
YangRucheng/Config-Backup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
自用配置文件备份!包含 .bashrc .tmux.conf 等~