tag 670960 +wontfix
thanks

On Mon 30 Apr 2012, Ubuntu6226 wrote:
> 
> another wishlist... for long processes, would be cool to add:
> 
> --beep 
> 
> and ~/.rsync.rc  with into 
> 
> beep = aplay ~/mysound.wav

This is something that can trivially be solved by using a wrapper script
that calls the original rsync binary and then plays the beep; so this
won't be added to the rsync binary itself, sorry.

E.g. put this in /usr/local/bin/rsync and ensure /usr/local/bin is first
in your PATH envrionment variable:


#!/bin/sh

/usr/bin/rsync "$@"
rc=$?

aplay $HOME/mysound.wav

exit $rc


You could even play different sounds depending on the exit status of
rsync...


Paul

Reply via email to