-
Notifications
You must be signed in to change notification settings - Fork 0
flxrsync stands for "flexible rsync", and it's rsync-3.1.3 with a new "--time-only" option
License
cblc/flxrsync
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WHAT IS FLXRSYNC? ----------------- flxrsync stands for "flexible rsync" and it's rsync-3.1.3 with a new option added ("--time-only") that lets you ignore file size when deciding if a file needs to be transferred or not. Of course this option goes against the original rsync goal, which is to sync identical copies of files. Two files cannot be identical if their sizes vary, so it's unlikely that the "--time-only" option would be added to the official rsync. However, there are some scenarios where the "--time-only" option can be of great value. For example, when you are not syncing identical files, but files with some processing filter applied. You could argue that a different tool should be used instead in such cases, but... the rsync algorithm for locating the files to be transferred, the options for tuning it and for deleting files that were removed from the source directory, together with its well-tested behavior throughout the years, proving to be a reputable and rock-solid tool... all of this makes you want not to look for a different tool. I added the "--time-only" option because I needed the behavior described above, in a very well tested tool. The modifications to the source are minimal (just take a look at the relevant commit and you'll see how straightforward it is). I didn't modify the file names for the generated executable and manpages, but it's likely you'll want to rename rsync to flxrsync (and the same for manpages) in order to also keep the original rsync in your system. Anyway, the renaming must be done after the build. Note that the new "--time-only" option is documented when you execute 'flxrsync --help' but however it's not documented in the manpages (they are just the rsync 3.1.3 original manpages, unmodified). What follows is the original README for rsync 3.1.3: WHAT IS RSYNC? -------------- Rsync is a fast and extraordinarily versatile file copying tool for both remote and local files. Rsync uses a delta-transfer algorithm which provides a very fast method for bringing remote files into sync. It does this by sending just the differences in the files across the link, without requiring that both sets of files are present at one of the ends of the link beforehand. At first glance this may seem impossible because the calculation of diffs between two files normally requires local access to both files. A technical report describing the rsync algorithm is included with this package. USAGE ----- Basically you use rsync just like scp, but rsync has many additional options. To get a complete list of supported options type: rsync --help See the manpage for more detailed information. SETUP ----- Rsync normally uses ssh or rsh for communication with remote systems. It does not need to be setuid and requires no special privileges for installation. You must, however, have a working ssh or rsh system. Using ssh is recommended for its security features. Alternatively, rsync can run in `daemon' mode, listening on a socket. This is generally used for public file distribution, although authentication and access control are available. To install rsync, first run the "configure" script. This will create a Makefile and config.h appropriate for your system. Then type "make". Note that on some systems you will have to force configure not to use gcc because gcc may not support some features (such as 64 bit file offsets) that your system may support. Set the environment variable CC to the name of your native compiler before running configure in this case. Once built put a copy of rsync in your search path on the local and remote systems (or use "make install"). That's it! RSYNC DAEMONS ------------- Rsync can also talk to "rsync daemons" which can provide anonymous or authenticated rsync. See the rsyncd.conf(5) man page for details on how to setup an rsync daemon. See the rsync(1) man page for info on how to connect to an rsync daemon. WEB SITE -------- The main rsync web site is here: http://rsync.samba.org/ You'll find a FAQ list, downloads, resources, HTML versions of the manpages, etc. MAILING LISTS ------------- There is a mailing list for the discussion of rsync and its applications that is open to anyone to join. New releases are announced on this list, and there is also an announcement-only mailing list for those that want official announcements. See the mailing-list page for full details: http://rsync.samba.org/lists.html BUG REPORTS ----------- To visit this web page for full the details on bug reporting: http://rsync.samba.org/bugzilla.html That page contains links to the current bug list, and information on how to report a bug well. You might also like to try searching the Internet for the error message you've received, or looking in the mailing list archives at: http://mail-archive.com/[email protected]/ To send a bug report, follow the instructions on the bug-tracking page of the web site. Alternately, email your bug report to [email protected] . GIT REPOSITORY -------------- If you want to get the very latest version of rsync direct from the source code repository then you can use git: git clone git://git.samba.org/rsync.git See the download page for full details on all the ways to grab the source, including nightly tar files, web-browsing of the git repository, etc.: http://rsync.samba.org/download.html COPYRIGHT --------- Rsync was originally written by Andrew Tridgell and is currently maintained by Wayne Davison. It has been improved by many developers from around the world. Rsync may be used, modified and redistributed only under the terms of the GNU General Public License, found in the file COPYING in this distribution, or at: http://www.fsf.org/licenses/gpl.html AVAILABILITY ------------ The main web site for rsync is http://rsync.samba.org/ The main ftp site is ftp://rsync.samba.org/pub/rsync/ This is also available as rsync://rsync.samba.org/rsyncftp/
About
flxrsync stands for "flexible rsync", and it's rsync-3.1.3 with a new "--time-only" option
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published