To ensure time-stamps are maintained during transfers, which RSYNC flag is specifically used?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The flag used with rsync to ensure that time-stamps are maintained during file transfers is indeed the -t option. This flag instructs rsync to preserve modification times of the files being transferred. This is particularly important in backup and synchronization tasks, where maintaining the same timestamps on both the source and destination files ensures the integrity and reliability of the transferred data.

While other flags serve specific purposes, they do not directly relate to the preservation of time-stamps. For instance, the -g flag preserves group ownership of files, the -z flag enables compression during the transfer to reduce the amount of data sent over the network, and the -j flag is not a standard option in rsync. Each of these options focuses on different aspects of file handling, but maintaining time-stamps specifically relies on the -t flag.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy