NetworkingLesson 36Free preview
Bash File Sync (rsync)
This lesson is part of Bash · All levels
Summary
The rsync command copies and syncs files and folders efficiently, only transferring the changed parts. It's popular for backup, with the -a option for archive mode and -delete so that the purpose is exactly the same as the source. Note the meaning of the slash at the end of the source path.
Key points
- Rsync -a source of the purpose of copying and synchronizing
- Just different parts that are transferred, saving bandwidth.
- The slash at the end of the source means the contents of the folder
- -delete sync by deleting excess files
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.