e01.org

Rsync

rsync (remote sync) is a utility for transferring and synchronizing files between a computer and a storage drive and across networked computers by comparing the modification times and sizes of files. The rsync algorithm is a type of delta encoding, and is used for minimizing network usage. Zlib, Zstd, and LZ4 may be used for additional data compression. One application of rsync is the synchronization of software repositories on mirror sites used by package management systems.

rsync (remote sync) is a utility for transferring and synchronizing files between a computer and a storage drive and across networked computers by comparing the modification times and sizes of files. The rsync algorithm is a type of delta encoding, and is used for minimizing network usage. Zlib, Zstd, and LZ4 may be used for additional data compression. One application of rsync is the synchronization of software repositories on mirror sites used by package management systems. $ rsync -avz --delete ftp4.de.FreeBSD.org::FreeBSD/ /pub/FreeBSD/ The Apache HTTP Server supports rsync only for updating mirrors. $ rsync -avz --delete --safe-links rsync.apache.org::apache-dist /path/to/mirror The preferred (and simplest) way to mirror a PuTTY website to the current directory is to use rsync. $ rsync -auH rsync://rsync.chiark.greenend.org.uk/ftp/users/sgtatham/putty-website-mirror/ . A way to mimic the capabilities of Time Machine (macOS); $ date=$(date "+%FT%H-%M-%S") # rsync interprets ":" as separator between host and port (i.e. host:port), so we cannot use %T or %H:%M:%S here, so we use %H-%M-%S $ rsync -aP --link-dest=$HOME/Backups/current /path/to/important_files $HOME/Backups/back-$date $ ln -nfs $HOME/Backups/back-$date $HOME/Backups/current Make a full backup of system root directory: $ rsync -avAXHS --progress --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /path/to/backup/folder Delete all files and directories, within a directory, extremely fast: $ rsync -a --delete /path/to/empty/dir /path/to/dir/to/empty # Make an empty directory somewhere, which is the first path, and the second path is the directory you want to empty.

References

  1. ^ "Using and running mirrors" . GNU Project. Archived from the original on 16 April 2020 . Retrieved 15 April 2020 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  2. ^ Tridgell, Andrew; Efficient Algorithms for Sorting and Synchronization , February 1999, retrieved 29 September 2009 Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  3. ^ "Tridge returns to rsync" . LWN.net . 17 April 2024 . Retrieved 30 May 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  4. ^ "Tool Warehouse" . SUA Community . Archived from the original on 6 April 2013. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  5. ^ "FreeBSD Ports" . Retrieved 24 October 2016 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  6. ^ "NetBSD Ports" . Archived from the original on 25 October 2016 . Retrieved 24 October 2016 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  7. ^ "OpenBSD Ports" . Retrieved 24 October 2016 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  8. ^ "How to Mirror FreeBSD (With rsync)" . Freebsd.org . Retrieved 18 August 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  9. ^ "How to become a mirror for the Apache Software Foundation" . Apache.org. Archived from the original on 21 August 2014 . Retrieved 18 August 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  10. ^ "PuTTY Web Site Mirrors: Mirroring guidelines" . Chiark.greenend.org.uk. 20 December 2007. Archived from the original on 19 August 2014 . Retrieved 18 August 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  11. ^ "Rsync set up to run like Time Machine" . Blog.interlinked.org. Archived from the original on 15 November 2007 . Retrieved 18 August 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  12. ^ "Full system backup with rsync" . wiki.archlinux.org. Archived from the original on 11 February 2015 . Retrieved 15 December 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  13. ^ "News for rsync 3.0.0" . 1 March 2008. Archived from the original on 20 March 2008. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  14. ^ Norman Ramsey. "The Rsync Algorithm" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  15. ^ Brockmeier, Joe (3 June 2026). "Tridgell: rsync and outrage" . LWN.net . Retrieved 9 June 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  16. ^ Holwerda, Thom (3 June 2026). "Rsync opens the slopgates, regressions and bugs ensue – OSnews" . www.osnews.com . Archived from the original on 3 June 2026 . Retrieved 9 June 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  17. ^ GPL-3.0-or-later since 2007-07-10, pre-release 3.0.0pre1 on 2007-10-05, stable 3.0.0 on 2008-03-01. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  18. ^ rdiff-backup Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  19. ^ Chen, Gilbert. "acrosync-library" . github.com. Archived from the original on 10 February 2017 . Retrieved 22 June 2016 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  20. ^ "acrosync.com" . Archived from the original on 20 December 2019 . Retrieved 29 July 2020 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  21. ^ "Mac Developer Library" . Developer.apple.com. Archived from the original on 26 September 2012 . Retrieved 18 August 2014 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  22. ^ "openrsync/README.md at 48070e68d73f67d6922b2ffc8c2dee9754e659c6 · kristapsdz/openrsync" . It currently is portable across Linux (glibc and musl), FreeBSD, NetBSD, Mac OS X, and OmniOS. {{ cite web }} : CS1 maint: url-status ( link ) Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  23. ^ "Openrsync: An implementation of rsync, by the OpenBSD team | Hacker News" . news.ycombinator.com . Archived from the original on 31 May 2026 . Retrieved 2 June 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  24. ^ "Zsync Cd Image" . ubuntu.com . Retrieved 6 January 2015 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  25. ^ zsync web site Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  26. ^ Craig-Wood, Nick. "Overview of cloud storage systems" . rclone.org . Archived from the original on 4 October 2017 . Retrieved 10 July 2017 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  27. ^ Craig-Wood, Nick. "Rclone Frequently Asked Questions" . rclone.org . Archived from the original on 10 May 2022 . Retrieved 13 May 2022 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  28. ^ "Grsync for Windows" . SourceForge . 12 July 2016. Archived from the original on 24 March 2019 . Retrieved 24 March 2019 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  29. ^ GPL-3.0-only from 2007-07-07 until 2007-07-09. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  30. ^ GPL-2.0-only from 2007-02-04 until 2007-07-07. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  31. ^ GPL-2.0-or-later from 1996-06-16 until 2007-01-31, versions 0.1 to 2.6.9. Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  32. ^ a b Page, Carly (4 June 2026). " 'Please do not vibe f--- up this software': Broken backups spark AI coding row in rsync project" . theregister . Retrieved 9 June 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  33. ^ "tweaking the license text a bit more" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  34. ^ "rsync's license" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  35. ^ "rsync's license" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  36. ^ "News" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  37. ^ a b c "rsync(1) – Linux man page" . linux.die.net . Archived from the original on 1 January 2017 . Retrieved 2 February 2017 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  38. ^ a b Pool, Martin; "librsync" Archived 9 December 2013 at the Wayback Machine Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  39. ^ "rdist(1)" . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  40. ^ a b c Tridgell, Andrew (19 June 1996). "First release of rsync – rcp replacement" . Newsgroup : comp.os.linux.announce . Usenet: cola-liw-835153950-21793-0@liw.clinet.fi . Archived from the original on 8 November 2011 . Retrieved 19 July 2007 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
  41. ^ "NEWS for rsync 3.5.2 (4 Nov 2026)" . 4 November 2026 . Retrieved 4 November 2026 . Wikipedia revision 1370677477, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Rsync". 1787397951. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1370677477

JSON record · API collection · citation policy