I'm using rsync
to push some changes to a server, for that I made a bash script and I want to show a status notification in the desktop (I'm using Linux Mint 18 Cinnamon)
Is it possible to send the output of rsync
to notify-send
so I can see the amount of data synchronized? Here is my actual bash script:
notify-send "sincronizando esteticas"
rsync -tprvkku --exclude "00_docs" --exclude "temp" --exclude "config.php" --progress public_html/ rsync://myserver:/myfiles
notify-send "sincronizacion terminada"