SHARE
Facebook X Pinterest WhatsApp

Get to know rsync

Written By
thumbnail
Web Webster
Web Webster
Jan 8, 2010

“One of the handiest tools you’ll ever have on Linux (and other
*nix systems) is rsync. As the name implies, rsync is used to sync
files on remote and local machines. You can use rsync to copy files
to remote systems and back again, or to make backups to locally
mounted hard drives. A quick glance at the man page might be a bit
intimidating, though, so let’s walk through some of the most
commonly used options and see if rsync is right for you.

“One word of caution before beginning: As an effective tool,
rsync is great at moving data from one machine to another. If used
incorrectly, though, it can also be an effective tool at
overwriting data or deleting files. Be mindful of the fact that
once files are deleted on Linux they’re very hard if not impossible
to recover, and that’s probably the opposite of what you’re trying
to accomplish.

“The first time you get ready to run an rsync command,
particularly the first few times out, you might want to make use of
the -n option (also –dry-run if you prefer the more verbose option
name). This is to run through a trial run with no actual changes
made.”

Complete
Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

Red Hat reveals major enhancements to Red Hat Enterprise Linux AI
sjvn
Oct 22, 2024
How to Find AWS EC2 Instance Type Over SSH (6 Methods)
Benny Lanco
Sep 23, 2024
Crond: Daemon to Execute Scheduled Commands
Rose Hosting Blog
Sep 20, 2024
A Detailed Introduction to Oracle VirtualBox
Senthil Kumar
Sep 19, 2024
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.