Can I make rsync output only the summary?
Yes, you can make rsync
output only a summary of the transfer by using the --stats
option. This option provides a summary of the files transferred, the amount of data transferred, and the transfer speed without showing detailed information about each file. Here's how to use it:
rsync --stats source_directory/ destination_directory/
In this command:
source_directory
is the directory you want to sync or back up.destination_directory
is the location where you want to store the data.
When you include the --stats
option, rsync
will display a summary at the end of the transfer, providing information on the number of files transferred, the amount of data sent, the transfer speed, and the total time taken.
This summary is helpful when you want a quick overview of the transfer progress without being inundated with detailed file-by-file information. It's particularly useful for monitoring large or lengthy synchronization tasks.
-
Can git be used as a backup tool?
Git is primarily a version control system rather than a traditional backup tool. While it can help you manage and track changes to your source code and other text-based files, it is not designed as...
Questions -
Create a backup on-call schedule
To set up a secondary calendar, head over to the Who’s on-call tab and click on Add on-call calendar Adding additional (secondary) calendar can be useful if you’d like to have various people on-cal...
Uptime -
Why isn’t RAID a backup
RAID (Redundant Array of Independent Disks) is a technology used to improve the performance, availability, and reliability of data storage in a computer system. While it provides certain benefits, ...
Questions
Make your mark
Join the writer's program
Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.
Write for usBuild on top of Better Stack
Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.
community@betterstack.comor submit a pull request and help us build better products for everyone.
See the full list of amazing projects on github