Linux/Mac Terminal Tutorial: How To Use The rsync Command - Sync Files Locally and Remotely

preview_player
Показать описание
In this Linux/Mac terminal tutorial, we will be learning how to use the rsync command. The rsync command will allow you to sync file and directories on your local machine or even over a network between servers. This is a great tool for running back ups, for only copying diffs, or even for deploying segments of code. Let's get started.

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Linux #Mac
Рекомендации по теме
Комментарии
Автор

One of the best rsync tutorials ever. Thank you.

flyingzeppo
Автор

right out of the gate, glad there's no stupid background music!

RinksRides
Автор

I really appreciate your approach -- everything you said was about rsync -- no rambling on an on. A short description up-front, then useful examples following a planned presentation. Informative and straightforward.

choppy
Автор

I’ve never felt so excited about watching more videos, if your other videos are as well put together and informative and easy to understand as this I’m going make some popcorn and tea :) good work and thanks for information it will be very helpful.

alanjoyce
Автор

Wow, I'm a huge fan after viewing that.
Been having a hard time understanding rsync, but love all your examples!
Please keep adding videos like these!

kimlien
Автор

Thank you so much. By far the best tutorial I have seen about rsync. Great job!

morecrapz
Автор

Great tutorial! Much appreciated. I like your style. Direct, to the point, and accounting for all the things someone needs to understand who's new to this. A natural educator.

benjaminmoseslieb
Автор

Fantastic video! Imagine the hours I could have saved doing drag and drop manual backups if I’d seen this before! The dry run is such a useful feature and gets rid of the ‘clenching’ anxiety when you’re not sure that your backup is going to do what you thought it might. Thank you.

smile
Автор

Excellent step by step rsync demonstration video from a simple way to a complex way. Very useful, thanks a lot, Loïc.

Автор

After a long time, I am satisfied with what I have learned. So many things but you made it simple and easy to understand.

therimalaya
Автор

For those who read comments, before watching: it is exactly the tutorial you were looking for: good vid quality, good English, good examples. Thank you, Corey Schafer!

mykolaservetnyk
Автор

One of the best explanatory video on rsync, the presentation was good and the commands are clearly visible

DiwakarKankipati
Автор

this is a great tutorial... i really like how you emphasized the --delete option. That would be catastrophic in a moment where you're trying to improve efficiency. Thank you!

markwon
Автор

Very clear and I liked the illustration for --dry-run. I'm also in awe of your typing skills (almost 18 minutes and not one typo!).

But I'd be careful of calling rsync a backup tool. While rsync makes a copy, proper backups should be versioned so that if you accidentally damaged a file a couple days ago, you can get a clean copy from the backup made three days ago. If you rsync nightly to a destination copy, the damaged version of the file would already be synced by the time you realized it was damaged.

You can add versioning to rsync (and --link-dest=dir can make it very space-efficient on the backup host) but you need to add a process for maintaining versions. Basically, to get seven days of versioning, you should rsync to a rotating day-of-the-week destination folder. But just rsync'ing to a single destination folder (as shown here) would not be versioned and would not be a good substitute for proper (versioned) backups.

But a great explanation of using rsync.

alanmead
Автор

Well, definitely this tutorial was exactly what I was looking for. It took me maybe half an hour to whatch it and write down the concepts, but I'm sure I won't forget your lessons. *Very* good ide to advice to be careful with the --delete flag.

I'm looking to do bidireccional syncing and it seems like this is exactly the tool. Already liked your video. Thanks a lot!

AlejodelosReyes
Автор

Hey mate, great video... subscribed! I will be checking the rest of the videos that you suggested. I started using rsync but now I understand it better. Great explanation! Cheers.

jeylful
Автор

You just saved my day with this tutorial. Was fed up completely and thought of getting rid of rsync and implementing custom solution. This tutorial helped me realize my silly mistake and made my day.

suryatejareddymallidi
Автор

Have been trying to read about rsync since last few weeks with nothing to stick in my mind. Thanks for being crisp and clear.

shubhankargahlot
Автор

Awesome! I did my personal scripts and binding to specific shortcuts so I can sync some directories with just two or three keys. Thanks for the video it provides me with all the information that I still need to accomplish that.

sergiobeltrao
Автор

Ok, so its now 23rd of September 2020 (Year of the Covid-19) and I am 100% not a Linux guy for sure, but I am getting there with this kind of help. I have just followed this tutorial for Ubuntu 20.04 and have to say, it is still very much current. Thanks Corey, I have subscribed and you will now be my no 1 go to for my tutorials, if you have what I am looking for. Superb examples all the way through. Oh, and this is the first review I have ever felt the need to give in all my time on youtube. thumbs up mate, thank you from the UK.

EddieK