doc: Update linux-command.md (#907)

feat: 新增rsync技巧
This commit is contained in:
敬培全 2024-12-18 09:27:02 +08:00 committed by GitHub
parent 4917ecf3a7
commit ad3c46c009
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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-->
另见