diff --git a/docs/.vitepress/theme/components/NavLink.vue b/docs/.vitepress/theme/components/NavLink.vue
deleted file mode 100644
index 8f3f947..0000000
--- a/docs/.vitepress/theme/components/NavLink.vue
+++ /dev/null
@@ -1,176 +0,0 @@
-
-
-
-
-
-
-
- {{ desc }}
-
-
-
-
-
diff --git a/docs/.vitepress/theme/components/NavLinks.vue b/docs/.vitepress/theme/components/NavLinks.vue
deleted file mode 100644
index 192de5a..0000000
--- a/docs/.vitepress/theme/components/NavLinks.vue
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
- {{ title }}
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js
index 129fe13..c8dcf93 100644
--- a/docs/.vitepress/theme/index.js
+++ b/docs/.vitepress/theme/index.js
@@ -1,10 +1,4 @@
import DefaultTheme from 'vitepress/theme';
-import CollapsibleSidebar from '../components/CollapsibleSidebar.vue';
export default {
- ...DefaultTheme,
- enhanceApp({ app }) {
- // 注册折叠侧边栏组件
- app.component('CollapsibleSidebar', CollapsibleSidebar);
- }
};
\ No newline at end of file
diff --git a/docs/os/linux/utils/rsync.md b/docs/os/linux/utils/rsync.md
new file mode 100644
index 0000000..2798b77
--- /dev/null
+++ b/docs/os/linux/utils/rsync.md
@@ -0,0 +1,51 @@
+# rsync
+ rsync 是另一个常用的文件同步工具,它比 scp 更高效,支持增量传输、压缩等功能,适合传输大文件或大量文件。
+
+从本地传输文件到远程:
+bash
+复制代码
+rsync -avz /path/to/local/file username@remote_host:/path/to/remote/directory
+从远程传输文件到本地:
+bash
+复制代码
+rsync -avz username@remote_host:/path/to/remote/file /path/to/local/directory
+其中:
+
+-a:归档模式,保留符号链接、文件权限等。
+-v:详细模式,输出更多信息。
+-z:压缩传输。
+同步整个目录:
+bash
+复制代码
+rsync -avz /path/to/local/directory username@remote_host:/path/to/remote/directory
+
+
+# scp
+
+1. scp(Secure Copy Protocol)
+ scp 是一种通过SSH协议在本地和远程计算机之间复制文件的工具,支持文件夹的传输。
+
+从本地传输文件到远程服务器:
+bash
+复制代码
+scp /path/to/local/file username@remote_host:/path/to/remote/directory
+例如,将本地文件 file.txt 传输到远程服务器的 /home/user/ 目录:
+
+bash
+复制代码
+scp file.txt user@192.168.1.100:/home/user/
+从远程服务器传输文件到本地:
+bash
+复制代码
+scp username@remote_host:/path/to/remote/file /path/to/local/directory
+例如,从远程服务器下载 file.txt 到本地:
+
+bash
+复制代码
+scp user@192.168.1.100:/home/user/file.txt /home/localuser/
+传输整个目录:
+使用 -r 参数递归传输目录。
+
+bash
+复制代码
+scp -r /path/to/local/directory username@remote_host:/path/to/remote/directory
\ No newline at end of file
diff --git a/docs/public/latestMdFiles.json b/docs/public/latestMdFiles.json
index 3d81907..f22601e 100644
--- a/docs/public/latestMdFiles.json
+++ b/docs/public/latestMdFiles.json
@@ -1,4 +1,6 @@
[
+ "docs/os/linux/utils/rsync.md",
+ "docs/database/mysql/other.md",
"docs/java/framework/springmvc/index.md",
"docs/java/devTools/buildTools/gradle/index.md",
"docs/java/devTools/buildTools/maven/index.md",
@@ -6,7 +8,5 @@
"docs/java/framework/jpa/index.md",
"docs/java/utils/lombok/import.md",
"docs/java/utils/lombok/index.md",
- "docs/java/devTools/buildTools/maven/basic.md",
- "docs/java/devTools/buildTools/maven/install.md",
- "docs/os/linux/chmod.md"
+ "docs/java/devTools/buildTools/maven/basic.md"
]
\ No newline at end of file