当前位置:网站首页>rsync使用方法之坑
rsync使用方法之坑
2022-07-30 05:47:00 【littlebird4】
基本使用方法请自行搜索,这里只记录一个大坑。
假设有a,b两个文件夹需要同伴,那么需要注意源文件夹后必须要 /
rsync -a a b # 相当于把 文件夹a 直接复制到b中;
rsync -a a/ b # 相当于把文件夹a中的 内容 复制到b中;
# 等同于
rsync -a a/* b
在a,b互相同步的场景下,如果写漏了 / ,则每同步一次文件翻倍!
边栏推荐
- This beta version of Typora is expired, please download and install a newer;解决方法
- Unity 渲染流水线
- Comparison of advantages and disadvantages of VsCode and Sublime editors
- xxx is not in the sudoers file.This incident will be reported错误
- 实现二叉树--实现删除
- QT Weekly Skills (1) ~~~~~~~~~ Running Icon
- Kunlun State Screen Production (serialization 4) --- Basics (graphical setting and display, button lights)
- 力扣题解
- 无法完成包的安装npm ERR! Refusing to install package with name “moment“ under a package also called “moment“
- Real-time waveform display of CAN communication data based on QT (serial eight) ==== "Sub function or new class calls ui control"
猜你喜欢
QT weekly skills (3)~~~~~~~~~ serial port addition
Anaconda 安装低版本tensorflow
QT Weekly Skills (1) ~~~~~~~~~ Running Icon
QT serial 2: LORA test platform based on QT and STM32H750 (1)
给Vscode配置ESlint语法检查 — ESLint 插件自动格式化设置(实现Ctrl+S 按照ESLint规则自动格式化代码)
图扑数字孪生北京故宫,推进旅游业元宇宙进程
查找Proj4js地图投影参数
antd table Summary总结栏置顶
力扣题解7.27
C language, usage of qsort in library function, and explanation
随机推荐
IO进程线程->标准IO->day1
测试第二题
快速排序学习记录
This beta version of Typora is expired, please download and install a newer;解决方法
Knowledge of the day: handwritten deep copy and shallow copy (solves the problem of circular references)
JS的值和引用,复制和传递
FPGA parsing B code----serial 1
QT serial 4: LORA test platform based on QT and STM32H750 (3)
Real-time waveform display of CAN communication data based on QT (serial eight) ==== "Sub function or new class calls ui control"
------实现二叉搜索树BST
给Vscode配置ESlint语法检查 — ESLint 插件自动格式化设置(实现Ctrl+S 按照ESLint规则自动格式化代码)
Diwen serial screen production (serialization 1) ===== preparation work
如何开发出成功的硬件产品,一个产品由概念的产生到产品的落地量产又需要经历哪些流程呢?
conda常用命令总结(持续更新)
How to open terminal in VsCode
图扑数字孪生煤矿开采系统,打造采煤“硬实力”
THREEJS导入外部OBJ+MTL后内存优化
QT Weekly Skills (1) ~~~~~~~~~ Running Icon
测试题第三个
如何判断 PCB 板是否变形?