Automating File Synchronization

The file system is at the heart of Unix's functionality, containing such things as kernel code, configurations, software, data, licenses, and device interfaces. Maintaining individual files on these file systems is not that difficult, until your machine count begins to increase. At that point, instead of editing a few files on two or three machines, you have ten, twenty, or even hundreds of these files to maintain. A file synchronization mechanism makes the maintenance and distribution of these files easier on system administrators by enabling files on remote servers to be synchronized with a master file repository.

Several tools can help you with this task; among them are rcp, scp, rsync, and rdist. Each of these ...

Get Unix® System Management Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.