If you copy files from the terminal I have written a script which works for me on Ubuntu and Mac OS X. Example usage if the script is in your $PATH:
cp -r /src /dst ; say_job_done.sh
It must all be typed on one line so that it will execute when the files are finished being copied. If you want copy progress you can use a program like rsync(1).
say_job_done.sh requires espeak package to be installed in Ubuntu 16.04.
sudo apt-get install espeak
Alternatively
Without my script you can call espeak(1) directly. Note: below syntax uses a Here String in bash(1).
If you copy files from the terminal I have written a script which works for me on Ubuntu and Mac OS X. Example usage if the script is in your
$PATH
:It must all be typed on one line so that it will execute when the files are finished being copied. If you want copy progress you can use a program like
rsync(1)
.say_job_done.sh
requiresespeak
package to be installed in Ubuntu 16.04.Alternatively
Without my script you can call
espeak(1)
directly. Note: below syntax uses aHere String
inbash(1)
.