文件同步工具Rsync 3.1.0发布。2013-09-29 上一个版本还是2011-09-23的3.0.9 过了2年多。Rsync基本是Linux上文件同步的标准了,也可以和inotify配合做实时同步。此版本有很多性能的增强(如重写的I/O层代码), 小功能改进增强以及Bug修正,建议升级。

完全改进:

NEWS for rsync 3.1.0 (28 Sep 2013)
Protocol: 31 (changed)
Changes since 3.0.9:OUTPUT CHANGES:- Output numbers in 3-digit groups by default (e.g. 1,234,567).  See the--human-readable option for a way to turn it off.  See also the daemon's"log format" parameter and related command-line options (including--out-format) for a modifier that can be used to request digit-groupingor human-readable output in log escapes. (Note that log output isunchanged by default.)- The --list-only option is now affected by the --human-readable setting.It will display digit groupings by default, and unit suffixes if higherlevels of readability are requested.  Also, the column width for the sizeoutput has increased from 11 to 14 characters when human readability isenabled.  Use --no-h to get the old-style output and column size.- The output of the --progress option has changed:  the string "xfer" wasshortened to "xfr", and the string "to-check" was shortened to "to-chk",both designed to make room for the (by default) wider display of filesize numbers without making the total line-length longer.  Also, whenincremental recursion is enabled, the string "ir-chk" will be usedinstead of "to-chk" up until the incremental-recursion scan is done,letting you know that the value to check and the total value will stillbe increasing as new files are found.- Enhanced the --stats output: 1) to mention how many files were created(protocol >= 28), 2) to mention how many files were deleted (a new linefor protocol 31, but only output when --delete is in effect), and 3) tofollow the file-count, created-count, and deleted-count with a subcountlist that shows the counts by type.  The wording of the transferred counthas also changed so that it is clearer that it is only a count of regularfiles.BUG FIXES:- Fixed a bug in the iconv code when EINVAL or EILSEQ is returned with afull output buffer.- Fixed some rare bugs in --iconv processing that might cause a multibytecharacter to get translated incorrectly.- Fixed a bogus "vanished file" error if some files were specified with"./" prefixes and others were not.- Fixed a bug in --sparse where an extra gap could get inserted after apartial write.- Changed the way --progress overwrites its prior output in order to makeit nearly impossible for the progress to get overwritten by an error.- Improved the propagation of abnormal-exit error messages.  This shouldhelp the client side to receive errors from the server when it is exitingabnormally, and should also avoid dying with an "connection unexpectedlyclosed" exit when the closed connection is really expected.- The sender now checks each file it plans to remove to ensure that ithasn't changed from the first stat's info.  This helps to avoid losingfile data when the user is not using the option in a safe manner.- Fixed a data-duplication bug in the compress option that made compressionless efficient.  This improves protocol 31 onward, while behaving in acompatible (buggy) manner with older rsync protocols.- When creating a temp-file, rsync is now a bit smarter about it dot-charchoices, which can fix a problem on OS X with names that start with "..".- Rsync now sets a cleanup flag for --inplace and --append transfers thatwill flush the write buffer if the transfer aborts.  This ensures thatmore received data gets written out to the disk on an aborted transfer(which is quite helpful on a slow, flaky connection).- The reads that map_ptr() now does are aligned on 1K boundaries.  Thishelps some filesystems and/or files that don't like unaligned reads.- Fix an issue in the msleep() function if time jumps backwards.- Fix daemon-server module-name splitting bug where an arg would get spliteven if --protect-args was used.ENHANCEMENTS:- Added the --remote-option=OPT (-M OPT) command-line option that is usefulfor things like sending a remote --log-file=FILE or --fake-super option.- Added the --info=FLAGS and --debug=FLAGS options to allow finer-grainedcontrol over what is output.  Added an extra type of --progress outputusing --info=progress2.- The --msgs2stderr option can help with debugging rsync by allowing thedebug messages to get output to stderr rather than travel via the socketprotocol.- Added the --delete-missing-args and --ignore-missing-args options toeither delete or ignore user-specified files on the receiver that aremissing on the sender (normally the absence of user-specified filesgenerates an error).- Added a "T" (terabyte) category to the --human-readable size suffixes.- Added the --usermap/--groupmap/--chown options for manipulating fileownership during the copy.- Added the "%C" escape to the log-output handling, which will output theMD5 checksum of any transferred file, or all files if --checksum wasspecified (when protocol 30 or above is in effect).- Added the "reverse lookup" parameter to the rsync daemon config file toallow reverse-DNS lookups to be disabled.- Added a forward-DNS lookup for the daemon's hosts allow/deny config.  Canbe disabled via "forward lookup" parameter (defaults to enabled).- Added a way for more than one group to be specified in the daemon'sconfig file, including a way to specify that you want all of thespecified user's groups without having to name them.  Also changed thedaemon to complain about an inability to set explicitly-specified uid/gidvalues, even when not run by a super-user.- The daemon now tries to send the user the error messages from thepre-xfer exec script when it fails.- Improved the use of alt-dest options into an existing hierarchy of files:If a match is found in an alt-dir, it takes precedence over an existingfile.  (We'll need to wait for a future version before attribute-changeson otherwise unchanged files are safe when using an existing hierarchy.)- Added per-user authorization options and group-authorization support tothe daemon's "auth users" parameter.- Added a way to reference environment variables in a daemon's config file(using %VAR% references).- When replacing a non-dir with a symlink/hard-link/device/special-file,the update should now be done in an atomic manner.- Avoid re-sending xattr info for hard-linked files w/the same xattrs(protocol 31).- The backup code was improved to use better logic maintaining the backupdirectory hierarchy.  Also, when a file is being backed up, rsync triesto hard-link it into place so that the upcoming replacement of thedestination file will be atomic (for the normal, non-inplace logic).- Added the ability to synchronize nano-second modified times.- Added a few more default suffixes for the "dont compress" settings.- Added the checking of the RSYNC_PROTECT_ARGS environment variable to allowthe default for the --protect-args command-line option to be overridden.- Added the --preallocate command-line option.- Allow --password-file=- to read the password from stdin (filename "-").- Rsync now comes packaged with an rsync-ssl helper script that can beused to contact a remote rsync daemon using a piped-stunnel command.It also includes an stunnel config file to run the server side tosupport ssl daemon connections.  See the packaging/lsb/rsync.specfile for one way to package the resulting files.  (Suggestions forhow to make this even easier to install & use are welcomed.)- Improved the speed of some --inplace updates when there are lots ofidentical checksum blocks that end up being unusable.- Added the --outbuf=N|L|B option for choosing the output buffering.- Repeating the --fuzzy option now causes the code to look for fuzzymatches inside alt-dest directories too.- The --chmod option now supports numeric modes, e.g. --chmod=644,D755- Added some Solaris xattr code.- Made an rsync daemon (the listening process) exit with a 0 status whenit was signaled to die.  This helps launchd.- Improved the RSYNC_* environment variables for the pre-xfer exec script:when a daemon is sent multiple request args, they are now joined into asingle return value (separated by spaces) so that the RSYNC_REQUESTenvironment variable is accurate for any "pre-xfer exec".  The values inRSYNC_ARG# vars are no longer truncated at the "." arg (prior to therequest dirs/files), so that all the requested values are also listed(separately) in RSYNC_ARG# variables.EXTRAS:- Added an "instant-rsyncd" script to the support directory, which makesit easy to configure a simple rsync daemon in the current directory.- Added the "mapfrom" and "mapto" scripts to the support directory, whichmakes it easier to do user/group mapping in a local transfer based onpasswd/group files from another machine.- There's a new, improved version of the lsh script in the support dir:it's written in perl and supports -u without resorting to using sudo(when run as root).  The old shell version is now named lsh.sh.- There is a helper script named rsync-slash-strip in the support directoryfor anyone that wants to change the way rsync handles args with trailingslashes.  (e.g. arg/ would get stripped to arg while arg/. would turn intoarg/).INTERNAL:- The I/O code was rewritten to be simpler and do bigger buffered readsover the socket.  The I/O between the receiver and the generator waschanged to be standard multiplexed-I/O (like that over the socket).- The sender tries to use any dead time while the generator is looking forfiles to transfer in order to do sender-side directory scanning in a moreparallel manner.- A daemon can now inform a client about a daemon-configured timeout valueso that the client can assist in the keep-alive activity (protocol 31).- The filter code received some refactoring to make it more extendible, toread better, and do better sanity checking.- Really big numbers are now output using our own big-num routine ratherthan casting them to a double and using a %.0f conversion.- The pool_alloc library has received some minor improvements in alignmenthandling.- Added init_stat_x() function to avoid duplication of acl/xattr init code.- The included zlib was upgraded from 1.2.3 to 1.2.8.- Rsync can now be compiled to use an unmodified zlib library instead ofthe tweaked one that is included with rsync.  This will eventuallybecome the default, at which point we'll start the countdown to removingthe included zlib.  Until then, feel free to configure using:./configure --with-included-zlib=noDEVELOPER RELATED:- Added more conditional debug output.- Fixed some build issues for android and minix.

下载:http://rsync.samba.org/ftp/rsync/rsync-3.1.0.tar.gz

转载于:https://www.cnblogs.com/shihao/p/3346485.html

Rsync 3.1.0 发布,文件同步工具相关推荐

  1. 遥望星空FTP文件同步工具(附源码)1.0 发布

    FTP文件同步工具1.0 发布 主要功能: 1.支持多任务多线程 2.支持自动启动 3.支持2种时间触发方式 4.支持任务进度显示 5.支持WinFtp Server.ftpserver.exe.Se ...

  2. Linux日常运维管理技巧(四)文件同步工具-rsync、Linux系统日志、dmesg命令、lastb命令查看登录失败的用户、screen工具虚拟屏幕

    目录 Linux文件同步工具-rsync Linux系统日志 dmesg命令 lastb命令 screen工具 Linux文件同步工具-rsync rsync命令是一个远程数据同步工具,可通过LAN/ ...

  3. 远程文件同步工具--rsync

    远程文件同步工具--rsync rsync rsync同步简介 rsync同步方式 配置源的两种方法 rsync常用命令 rsync实验 1.本地复制 2.远程复制 1.配置rsync服务器 2.为备 ...

  4. linux有哪些实时同步工具,rsync文件同步工具常见模式有哪些?linux系统

    互联网时代发展迅速,Linux运维技术的需求更多推进不少.市场对于Linux运维人才的需求也在逐渐加大.Linux行业崛起,在云计算大环境下,市场上对高级运维人员的需求将越来越大.文件同步工具rsyn ...

  5. 4.2w Star的文件同步工具,比VIP网盘还好用!

    关注TJ君,回复"武功秘籍"免费获取计算机宝典书籍 昨天圣诞夜TJ君却做了一件烦心的事情,是什么事情呢? 其实就是TJ君平时有时候会偷懒,把微信当作存储工具,一些小伙伴传过来的文件 ...

  6. Syncing文件同步工具(详解)

    简介: Syncthing是一种开源的文件同步工具,旨在实现跨多个设备之间的安全和私密的文件同步.它提供了一种去中心化的方法来同步文件,并通过点对点(P2P)技术直接在设备之间进行通信,而无需传统的云 ...

  7. Windows电脑值得下载使用的文件同步工具

    Windows电脑文件同步工具哪个好用?今天小西给大家推荐一款非常好用的文件同步工具,可以实现自动化同步.多设备(本地磁盘.移动硬盘.U盘.网盘等)同步,可以说实用性非常强. FileYee是一款Wi ...

  8. SyncTime for Mac v3.6文件同步工具

    SyncTime for mac版是一款轻巧的文件同步工具,使用SyncTime您可以在三种同步类型之间选择 :单向同步(默认设置),两向同步(允许您合并源和目标)和单向移动(成功转移到目标后删除源文 ...

  9. windows文件同步工具

    windows 文件同步工具: realTimesync freefilesyncsecond copy   second copy注册码: Name:爱学府软件园 注册码:15BF-E46C-672 ...

最新文章

  1. Python Module_openpyxl_styles 样式处理
  2. python自学多久可以找到工作-零基础如何自学Python并且找到工作,其实也就这3点,4点...
  3. mq同步mysql数据 duplicate entry_MySQL数据同步之otter
  4. python释放变量内存_Python尚学堂高淇|1113引用的本质栈内存,堆内存,内存的示意图,标识符,变量的声明初始化,垃圾回收机制...
  5. Windows Serer 2003 配置手册 – 创建Active Dictionary域
  6. nuttx linux 编译,linux下建立nuttx开发环境
  7. 犯罪分子正在将合法的云监控工具用作后门
  8. 表格识别----基于模板的文字识别结果结构化处理技术
  9. 自学Python6个月,你能找到工作吗?
  10. USB转串口CH340接线方法
  11. 【零知ESP8266教程】快速入门28 六轴传感器模块的使用
  12. win搭建7java环境_WIN7java环境变量搭建方法
  13. 消息称GPhone今日发布 揭秘幕后教父(图)
  14. iphone11夜景模式怎么开
  15. 前端头像上传功能实现之base64图片/头像上传 详细解析2【扩展知识FileReader对象】
  16. java sm3国密算法加密、验证工具类
  17. 解决一款防止系统和负载出现过大电流 可提供完全保护电流限制负载开关驱动器 FPF2702MX
  18. 场外交易是什么?你对它的了解有多少?
  19. DELPHI控件DBGRID导出EXCEL格式
  20. Android Payme支付接入

热门文章

  1. 20、磁贴和磁贴通知(tile)(上)
  2. Silverlight的报表查看器
  3. Linux下的XAMPP基本配置技巧(设置虚拟主机、添加FTP账户等)
  4. tw-wr641g ttl串口
  5. hashlib 加密
  6. android 自定义paint,Android中自定义常用的三个对象解析(Paint,Color,Canvas)
  7. 本地php后台密码恢复默认,找回wordpress后台管理密码的PHP脚本方法
  8. Serverless Live | 9 大场景带你从零实践 Serverless
  9. python字典下标是什么_python列表、元组、字典
  10. AUTOSAR解决方案 — INTEWORK-EAS-CP