Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-10-2016, 04:49 AM   #1
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 485

Rep: Reputation: 29
more functions with rsync

is it possible to capture data from an rsync operation like the size of folders being synced,the time it took,the changes that were copied over and then the total amount of data that was transferred across and then have all that data sent via email to my email address?
Old 03-10-2016, 06:03 AM   #2
Senior Member
Registered: Mar 2012
Posts: 1,514

Rep: Reputation: 394Reputation: 394Reputation: 394Reputation: 394
Write a small script to print date/source/dest, perform the rsync with -v and such, print date.
Then just run it and pipe the output to 'mail' or such cli mailer, or just stick it in cron (which mails output automatically as well).
Old 03-10-2016, 07:46 AM   #3
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 485

Original Poster
Rep: Reputation: 29
will i have to capture results in variables and then print those variables to a mail?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OSE system call functions to Linux Sytem Call functions required roshantraj30 Linux - General 0 06-08-2009 03:06 AM
LXer: Calc functions, part 1: Understanding functions LXer Syndicated Linux News 0 03-31-2007 01:01 PM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/ michelino Slackware 4 03-20-2007 01:22 PM
Want to use few functions of rsync?? Sulman Shah Programming 6 02-01-2007 05:00 AM
pointers to functions/member functions champ Programming 2 03-28-2003 07:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration