Skip to content

Commit

Permalink
doc: Update linux-command.md (jaywcjlove#907)
Browse files Browse the repository at this point in the history
feat: 新增rsync技巧
  • Loading branch information
LongYinStudio authored Dec 18, 2024
1 parent 4917ecf commit ad3c46c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/linux-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ Linux 命令速查表
**`for file in $(ls); do sed -i 's/nmg/sz/g' "$file"; done`** | 当前目录修改字符串
**`ssh -NfR remote_port:localhost:local_port user@remote_server`** | ssh代理
**`find . -wholename "*.sh" -exec dos2unix {} \;`** | 修复脚本格式错误
**`rsync -avz /source/ user@remote:/destination/`** | 同步文件和目录到远程服务器,支持压缩和增量传输
<!--rehype:className=left-align shortcuts-->

另见
Expand Down

0 comments on commit ad3c46c

Please sign in to comment.