Linux rsync 命令使用
来源:互联网 发布:java工程师学历要求 编辑:程序博客网 时间:2024/05/29 02:34
具体的命令参数可以参看 http://man.linuxde.net/rsync 或者man rsync
这里我们结合实际使用来看几个命令
rsync -av -f"+ */" -f"- *" /root/temp/nfs /root/temp/mybackup 是只备份 source /root/temp/nfs 下的目录。
rsync -av /root/temp/nfs /root/temp/mybackup 是备份 source /root/temp/nfs 下的所有文件。
-f 后面跟的是过滤规则
exclude, - specifies an exclude pattern.
include, + specifies an include pattern.
merge, . specifies a merge-file to read for more rules.
dir-merge, : specifies a per-directory merge-file.
hide, H specifies a pattern for hiding files from the transfer.
show, S files that match the pattern are not hidden.
protect, P specifies a pattern for protecting files from dele-
tion.
risk, R files that match the pattern are not protected.
clear, ! clears the current include/exclude list (takes no arg)
- Linux rsync 命令使用
- Linux备份命令rsync 安装和使用
- Linux rsync命令详解
- Linux rsync命令详解
- linux rsync 命令
- linux命令:rsync
- linux之rsync命令
- Linux rsync命令详解
- Linux:rsync命令详解
- Rsync命令的使用
- rsync同步命令使用
- rsync命令的使用
- Rsync命令使用
- Linux命令rsync的使用(一例)
- Linux下使用rsync进行数据备份的命令详解
- linux rsync安装使用
- linux rsync使用笔记
- Linux下使用rsync
- struts2的servlet的API的三种方式
- Python 除法和取模
- 学习笔记二,Linux常用命令--文件内容查看
- word怎么插入长分页符
- 使用BAPI_OUTB_DELIVERY_CREATE_SLS创建DN
- Linux rsync 命令使用
- 关于采样与DFT的一点点思考
- Android操作HTTP实现与服务器通信
- request.getParameter()、request.getInputStream()和request.getReader()
- Drag, Rotate, and Zoom——拖拽、旋转和缩放
- mysql order by rand() 优化方法
- git常使用的基本命令
- idea创建main函数快捷键
- 正则表达式 正整数和小数和实数和端口号